Difference between revisions of "Tr"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 4: | Line 4: | ||
Concatenate lines on a [[file]]: | Concatenate lines on a [[file]]: | ||
[[cat]] file | tr '\n' ' ' | [[cat]] file | tr '\n' ' ' | ||
+ | |||
+ | |||
+ | == Related commands == | ||
+ | * <code>[[awk]]</code> | ||
+ | |||
Revision as of 08:36, 7 May 2020
This article is a Draft. Help us to complete it.
Concatenate lines on a file:
cat file | tr '\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- file, File system, directory,
touch
,mkdir
,ls
,ln
truncate
,fallocate
,split
,stat
, inode, File descriptor, superblock, block size (blockdev
),fuser
,lsof
,scrub
,chattr
, ulimit (nofiles),cp
,mv
,file (command)
,mkfifo
,chmod
Advertising: