Saturday, 10 December 2016

Use of paste command

Paste : This command is used to join files horizontally by delimiter.
                                       Syntax:$paste <filename1> <filename2>....<filenamen>
default delimiter is tab.
Ex:
$paste employees departments
Ex:
$paste -d ":" employees departments
Ex :
$paste employees salary departments
Ex:
$paste -d ":" employees salary departments


No comments:

Post a Comment