mirror of https://github.com/CrimsonTome/tldr.git
16 lines
218 B
Markdown
16 lines
218 B
Markdown
|
# tail
|
||
|
|
||
|
> Display the last part of a file
|
||
|
|
||
|
- show last 'num' lines in file
|
||
|
|
||
|
`tail -n {{num}} {{file}}`
|
||
|
|
||
|
- show last 'num' bytes in file
|
||
|
|
||
|
`tail -c {{num}} {{file}}`
|
||
|
|
||
|
- keep reading file until ctrl-c
|
||
|
|
||
|
`tail -f {{file}}`
|