if i have 2 files file1 and file2....
file1 contains 2 columns like
b a
11 aa
12 as
13 ad
15 ag
11 ar
13 ah
15 ak
file2 contains
b c
10 ds
11 at
15 gh
15 jk
13 iu
11 fg
13 yy
can any 1 give me the program to display in this way?
a b c
aa 11 at
ar 11 fg
ad 13 iu
ah 13 yy
ag 15 gh
ak 15 jk
Answer Posted / sudhir
paste file1 file2 | cut -f 2,3,4 -d " "
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to get the 3rd element/column from each line from a file?
What are script files?
How do I run a script on mac?
Determine the output of the following command: [ -z “” ] && echo 0 || echo 1
What is difference between bash and shell?
What is ms powershell?
I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?
how will you find the total disk space used by a specific user?
Give some situations where typing error can destroy a program?
Explain about non-login shell files?
What are types of shells?
What is computer cli?
What is shell company all about?
What is .sh file in mac?
What command needs to be used to take the backup?