[Ilugc] One Day One Command
- From: sbharathi@xxxxxxxxxxxxx (Bharathi S)
- Date: Wed Jan 12 18:49:19 2005
One Day One Command :-
---------------------
cat -- CATenate files & print on the STDOUT
Summary:
From Jargon File: Catenate is an obscure word meaning "to connect
in a series", which is what the "cat" command does to one or more
files.
Cat will conCATenate the FILE(s) / STDIN to STDOUT.
Examples:
$ cat MyFile -- Dump the file to STDOUT
$ cat File1 File2 File3 -- Dump File1, File2 & File3
$ cat -b File -- Print the File with Number for Non blank lines
$ cat -s File -- Squeeze multiple blank lines to single.
$ cat -A File -- Show the Non-Printable Chars also
$ cat > File -- Concat the STDIN to STDOUT & FILE.
Read: info cat
Bye :)
--
Bharathi S
Other related posts: