tac [file...]Arguments explained
- Options adjust output or behavior.
- Arguments name the files, services, hosts, or values the command should work with.
Common examples
tac events.log | lessShows newest-looking lines first when the file is chronological.
history | tac | headShows the most recent shell history entries.
| Field | Details |
|---|---|
| Command | tac |
| Category | Viewing Content |
| Primary use | Prints files in reverse line order. |
| Syntax | tac [file...] |