1CAT(1) General Commands Manual CAT(1)
2
3
4
6 cat - catenate and print
7
9 cat [ -u ] file ...
10
12 Cat reads each file in sequence and writes it on the standard output.
13 Thus
14
15 cat file
16
17 prints the file and
18
19 cat file1 file2 >file3
20
21 concatenates the first two files and places the result on the third.
22
23 If no file is given, or if the argument `-' is encountered, cat reads
24 from the standard input. Output is buffered in 512-byte blocks unless
25 the standard output is a terminal or the -u option is present.
26
28 pr(1), cp(1)
29
31 Beware of `cat a b >a' and `cat a b >b', which destroy input files
32 before reading them.
33
34
35
36 CAT(1)