Paste

From LQWiki
Jump to navigation Jump to search

Paste is a command that merges lines of files

Examples

cat >file_1<<eof
 1
 2
eof
 
cat >file_2<<eof
a
b
eof
paste file_1 file_2 
1	a
2	b

Origin

Provided by the GNU Coreutils: man page

See also

cut, join