cat prints file contents to the terminal or joins files together. It is the simplest way to read a small log or config file during triage.
| No. | Step | Source | Destination | Type | Info |
|---|---|---|---|---|---|
| 1 | Print a file | sshd_config | cat | DATA | — |
| 2 | Print a file | cat | your terminal | DATA | cat sshd_config |
cat prints file contents to the terminal or joins files together. It is the simplest way to read a small log or config file during triage.
cat file1 file2 > combined.log concatenates files.-n numbers lines, handy when noting evidence locations.less, head or tail to avoid flooding the screen.