cat command
Summary
Prints files to console.
Description
This command lets you print the contents of a text file to the console.
Switches | Description |
---|---|
-lines | Prints the line numbers alongside the contents |
-nolines | Prints only the contents |
Command usage
cat [-lines|-nolines] <file>
Examples
cat text.txt
: Prints the contents of text.txt to console
Last updated