cat—concatenates and displays files
cat [ –bnsuvet ] filename...
cat reads each filename in sequence and writes it on the standard output. If no input file is given, or if the argument – is encountered, cat reads from the standard input file.
Example A.7.
1 cat /etc/passwd 2 cat -n file1 file2 >> file3 |
EXPLANATION
|
Get UNIX® Shells by Example, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.