# tail -n

`tail -n 20 log.txt`

Show the last 20 lines of a file — handy for logs.

## What each part does

- `tail` — command — last lines of a file
- `-n` — flag — how many lines
- `20` — argument: a file, a folder, or text
- `log.txt` — argument: a file, a folder, or text

Source: https://zero2vibecode.com/explain/tail-n
