1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 07:18:29 +01:00
tldr/pages/common/tail.md
2014-03-19 12:49:24 +01:00

19 lines
281 B
Markdown

# tail
> Display the last part of a file
- show last 'num' lines in file
`tail -n {{num}} {{file}}`
- show all file since line 'num'
`tail -n +{{num}} {{file}}`
- show last 'num' bytes in file
`tail -c {{num}} {{file}}`
- keep reading file until ctrl-c
`tail -f {{file}}`