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 nonempty output lines, overrides -n
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 suppress repeated empty output lines
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
54 GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
55 Report cat translation bugs to <http://translationproject.org/team/>
56
58 Written by Torbjorn Granlund and Richard M. Stallman.
59
61 Copyright © 2013 Free Software Foundation, Inc. License GPLv3+: GNU
62 GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
63 This is free software: you are free to change and redistribute it.
64 There is NO WARRANTY, to the extent permitted by law.
65
67 tac(1)
68
69 The full documentation for cat is maintained as a Texinfo manual. If
70 the info and cat programs are properly installed at your site, the com‐
71 mand
72
73 info coreutils 'cat invocation'
74
75 should give you access to the complete manual.
76
77
78
79GNU coreutils 8.22 October 2018 CAT(1)