HELP! How to merge two files as column wise??
Hi,
Would you help me, plz! I'm really new in Linux, and i am struggling in that 2 days ago I need to merge 3 files in one file, BUT I want to display them as column! How I can achieve that? e.g: File 1 contains: 1. 2. 3. File 2 contains: A B C File 3 contains: XX XY YX to be in one file looks like this: File 1 File 2 File 3 1. A XX 2. B XY 3. C YX and if possible, how to make a header (Title) for each column? Thanx |
Tape command is not found in mine!
Ive tried Tape command, but its not found in my package!
what other options do we have? |
over 45!
Over 45 had been reviewed my Thread, But no answer yet!
|
Simply use:
Code:
~$ paste file1 file2 file3 |
paste is invalid
paste is not valid,
its giving me that its not in the package! |
Command paste is very basic and it should be there.
Code:
~$ which paste |
Done!
It works, I was typing it wrong (past, instead of paste)..
sorry for that. How about the columns Headings (Title)? |
Just try this:
Code:
~$ echo -e "File1\tFile2\tFile3"; paste file1 file2 file3 |
Awesome!
Thanx a lot...
|
Please Mark the thread as solved (option is under Thread Tools on top menu), if you think it has so.
|
All times are GMT -5. The time now is 12:29 PM. |