tail shows the last lines of a file, and with -f it follows the file live as new lines are written. Ideal for watching logs during an incident.
| No. | Step | Source | Destination | Type | Info |
|---|---|---|---|---|---|
| 1 | Last lines | auth.log | tail -F | DATA | — |
| 2 | Last lines | tail -F | live view | DATA | tail -n 100 |
tail shows the last lines of a file, and with -f it follows the file live as new lines are written. Ideal for watching logs during an incident.
-n 100 shows the last 100 lines.-f follows a growing file; -F also survives log rotation.grep to watch only matching events in real time.