1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 09:17:57 +01:00

Add tail.md

This commit is contained in:
Ford Hurley 2014-02-22 16:49:40 -05:00
parent 0094393e46
commit 39dbcb99b3

15
common/tail.md Normal file
View 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}}`