The paste command

Using this utility, we can paste two files horizontally; for example, file_1 will become the first column and file_2 will become the second column:

    $ paste file_1 file_2

Get Learning Linux Shell Scripting - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.