cat — Concatenate and Display Files
Synopsis
/usr/bin/cat [-nbsuvet] [file...]
Description
Use the cat command to create short files, to concatenate two files into a third one, to append one file to the end of another, or to display the contents of files in sequence on the standard output.
The following syntax creates a new file named file . Everything that you type is written to file . cat sends one line at a time to the file after you press Return. You can use the backspace key to correct typos on the current line, but you cannot back up across lines. When you are finished, type Control-D on a line by itself to terminate the session and close the file. If the file does not exist, it is created. If it already exists, the contents are overwritten ...
Get Solaris™ 7 Reference 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.