1. Tech

Your suggestion is on its way!

An email with a link to:


was emailed to:

Thanks for sharing About.com with others!

Linux / Unix Command: cat
Command Library


cat - concatenate files and print on the standard output


cat [OPTION] [FILE]...


Concatenate FILE(s), or standard input, to standard output.

-A, --show-all
equivalent to -vET
-b, --number-nonblank
number nonblank output lines
equivalent to -vE
-E, --show-ends
display $ at end of each line
-n, --number
number all output lines
-s, --squeeze-blank
never more than one single blank line
equivalent to -vT
-T, --show-tabs
display TAB characters as ^I
-v, --show-nonprinting
use ^ and M- notation, except for LFD and TAB
display this help and exit
output version information and exit

With no FILE, or when FILE is -, read standard input.


The full documentation for cat is maintained as a Texinfo manual. If the info and cat programs are properly installed at your site, the command
info cat

should give you access to the complete manual.

Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

  1. About.com
  2. Tech
  3. Linux

©2015 About.com. All rights reserved.