mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 03:25:59 +02:00
Add tail.md
This commit is contained in:
parent
0094393e46
commit
39dbcb99b3
1 changed files with 15 additions and 0 deletions
15
common/tail.md
Normal file
15
common/tail.md
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# 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}}`
|
Loading…
Add table
Reference in a new issue