mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-01 05:21:06 +01:00
15 lines
299 B
Plaintext
15 lines
299 B
Plaintext
|
# To show the last 10 lines of file
|
||
|
tail file
|
||
|
|
||
|
# To show the last N lines of file
|
||
|
tail -n N file
|
||
|
|
||
|
# To show the last lines of file starting with the Nth
|
||
|
tail -n +N file
|
||
|
|
||
|
# To show the last N bytes of file
|
||
|
tail -c N file
|
||
|
|
||
|
# To show the last 10 lines of file and to wait for file to grow
|
||
|
tail -f file
|