Difference between revisions of "Paste"
Jump to navigation
Jump to search
↑ https://stackoverflow.com/a/9605450
Line 7: | Line 7: | ||
== See also == | == See also == | ||
* {{cat}} | * {{cat}} | ||
+ | |||
+ | [[Category:Linux commands]] |
Revision as of 12:10, 31 December 2019
Merge every two lines:
cat /path/tofile.txt | paste -d " " - -
[1]cat /path/tofile.txt | xargs -n2 -d'\n'
See also
cat
,tac
,more
,less
,tail
,mtail
,echo
,stdin
,tr
,column
,paste
,truncate
,logrotate
,xzcat
pv
,progress
,sort
,ncat
,virt-cat
,awk
,join
,col
,fold
,tee
,sponge
,nfs-cat
,journalctl, ccat, icat, EOF
, lolcat
Advertising: