• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

cat

cat

cat Concatenates and prints files.
cat [-nbsvetu] <file1>
									<file2> ...

cat [-nbsvetu] [-]

cat reads files in sequential command-line order and writes them to standard output. A single dash represents standard input.
-n Numbers all output lines.
-b Numbers all output lines, except b or blank lines.
-s Squeezes multiple adjacent empty lines, causing single-spaced output.
-v Displays nonprinting characters. Control characters print as ^X for control-X; delete (octal 0177) prints as '^?'; non-ASCII characters with the high bit set are printed as M- (for meta) followed by the character for the low 7 bits.
-e Implies -v option. Displays a dollar sign ($) at the end of each line as well.
-t Implies -v option. Displays tab characters as ^I as well.
-u Guarantees unbuffered output.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint