How do you join two files line by line in Unix?

How do you join two files line by line in Unix?
Answer
To merge files line by line, you can use
the paste command. By default, the corresponding lines of each file are separated with tabs. This command is the horizontal equivalent to the cat command, which prints the content of the two files vertically.
 

Tìm kiếm

Back
Top