Skip to main content

10.1) Side by Side


The paste command is used to paste together the contents of two files side-by-side. The cat command was used to join up data of different files end to end. Now this command will enable you to paste data together side by side. So working with ‘file1’:

0.1      2.3
0.2      4.3
0.3      4.9
0.4      6.2
0.5      7.1

And ‘file2’:

0.6      9.3
0.7      8.4
0.8      4.3
0.9      2.1
0.10     0.9