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) to standard output.
13
14 With no FILE, or when FILE is -, read standard input.
15
16 -A, --show-all
17 equivalent to -vET
18
19 -b, --number-nonblank
20 number nonempty output lines, overrides -n
21
22 -e equivalent to -vE
23
24 -E, --show-ends
25 display $ at end of each line
26
27 -n, --number
28 number all output lines
29
30 -s, --squeeze-blank
31 suppress repeated empty output lines
32
33 -t equivalent to -vT
34
35 -T, --show-tabs
36 display TAB characters as ^I
37
38 -u (ignored)
39
40 -v, --show-nonprinting
41 use ^ and M- notation, except for LFD and TAB
42
43 --help display this help and exit
44
45 --version
46 output version information and exit
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 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
59 Report any translation bugs to <https://translationproject.org/team/>
60
62 Copyright © 2022 Free Software Foundation, Inc. License GPLv3+: GNU
63 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
64 This is free software: you are free to change and redistribute it.
65 There is NO WARRANTY, to the extent permitted by law.
66
68 tac(1)
69
70 Full documentation <https://www.gnu.org/software/coreutils/cat>
71 or available locally via: info '(coreutils) cat invocation'
72
73
74
75GNU coreutils 9.1 May 2023 CAT(1)