2017-09-13 05:11:38 +02:00
|
|
|
# Display the contents of a file
|
|
|
|
cat /path/to/foo
|
2017-02-13 04:11:45 +01:00
|
|
|
|
2017-09-13 05:11:38 +02:00
|
|
|
# Display contents with line numbers
|
|
|
|
cat -n /path/to/foo
|
|
|
|
|
|
|
|
# Display contents with line numbers (blank lines excluded)
|
|
|
|
cat -b /path/to/foo
|