1CAT(1) User Commands CAT(1)
2
3
4
6 cat - concatenate files and print on the standard output
7
9 cat [OPTION] [FILE]...
10
12 Concatenate FILE(s), or standard input, to standard output.
13
14 -A, --show-all
15 equivalent to -vET
16
17 -b, --number-nonblank
18 number nonblank output lines
19
20 -e equivalent to -vE
21
22 -E, --show-ends
23 display $ at end of each line
24
25 -n, --number
26 number all output lines
27
28 -s, --squeeze-blank
29 never more than one single blank line
30
31 -t equivalent to -vT
32
33 -T, --show-tabs
34 display TAB characters as ^I
35
36 -u (ignored)
37
38 -v, --show-nonprinting
39 use ^ and M- notation, except for LFD and TAB
40
41 --help display this help and exit
42
43 --version
44 output version information and exit
45
46 With no FILE, or when FILE is -, read standard input.
47
49 cat f - g
50 Output f's contents, then standard input, then g's contents.
51
52 cat Copy standard input to standard output.
53
55 Written by Torbjorn Granlund and Richard M. Stallman.
56
58 Report bugs to <bug-coreutils@gnu.org>.
59
61 Copyright © 2007 Free Software Foundation, Inc.
62 This is free software. You may redistribute copies of it under the
63 terms of the GNU General Public License
64 <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the
65 extent permitted by law.
66
68 The full documentation for cat is maintained as a Texinfo manual. If
69 the info and cat programs are properly installed at your site, the com‐
70 mand
71
72 info cat
73
74 should give you access to the complete manual.
75
76
77
78GNU coreutils 6.9 March 2008 CAT(1)