paste Linux Commands
What is Linux paste Command?
Explanation
paste COMMAND:paste command is used to paste the content from one file to another file. It is also used to set column format for each line.
SYNTAX :
paste [options]
OPTIONS:
-s |
Paste one file at a time instead of in parallel. |
-d |
Reuse characters from LIST instead of TABs . |
EXAMPLE:
-
paste test.txt>test1.txt
Paste the content from 'test.txt' file to 'test1.txt' file.
-
ls | paste - - - -
List all files and directories in four columns for each line.