Comments on Linux paste Command Explained For Beginners (5 Examples)

Sometimes, while working on the command line in Linux, there may arise a situation wherein you have to merge lines of multiple files to create more meaningful/useful data. Well, you'll be glad to know there exists a command line utility paste that does this for you.

2 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Otomeram

Nice and clean.

By: GORD MICHAELS

if you have blank lines in the first file and a line in the second file is on the same line as the blank line the line in the second file gets moved to to the left. if you paste the file into excel the line in the second file is part of the first file ... how do you stop this ....

first file   2nd file

     joe blow (SECOND FILE)

1st file  SECOND FILE