cat [-] [file...]
cat file
The following command concatenates two files into a third:
Caveat
Beware of cat a b >a and cat a b >b, which destroy input files before reading them. See Also
read, write, stream - read, write, or stream file in Chapter 8
|
Integer File Descriptor in Chapter 8
|