Linux Shell Scripting Tutorial (LSST) v1.05r3 | ||
Chapter 5: Essential Utilities for Power User | ||
|
Paste utility join textual information together. To clear your idea try following command at shell prompt:
$ paste /tmp/sn.tmp.$$ /tmp/sm.tmp.$$
Vivek 67
Renuka 55
Prakash 96
Ashish 36
Rani 67
Paste utility is useful to put textual information together located in various files.
General Syntax of paste utility:
Syntax:
paste {file1} {file2}
Use of paste utility:
Putting lines together.
Can you note down basic difference between cut and paste utility?
Selecting portion of a file using cut utility | The join utility |