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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.