Difference between revisions of "Paste"
Jump to navigation
Jump to search
↑ https://stackoverflow.com/a/9605450
Line 1: | Line 1: | ||
+ | {{lowercase}} | ||
[[Merge]] every two [[lines]]: | [[Merge]] every two [[lines]]: | ||
* <code>cat /path/tofile.txt | paste -d " " - -</code><ref>https://stackoverflow.com/a/9605450</ref> | * <code>cat /path/tofile.txt | paste -d " " - -</code><ref>https://stackoverflow.com/a/9605450</ref> |
Revision as of 08:21, 8 September 2021
cat /path/tofile.txt | paste -d " " - -
[1]cat /path/tofile.txt | xargs -n2 -d'\n'
Related commands
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- Editors:
vi, vim
,sed
,awk
, emacs,lineinfile (Ansible)
, Atom,paste
, Neovim, Rider,visudo, vipw
,update-alternatives
,nano
,more, less
,.vimrc
,set (vi)
zed
Advertising: