# `tail`

`tail` prints the last lines of a file.

## Common `tail` usage

- Output the last 10 lines of a file:

```bash
tail file.txt
```

- output the last X lines of a file

```bash
tail -n X file.txt 
```
