Merge pull request #125 from fmunch/tail

Added tail cheatsheet
This commit is contained in:
Chris Lane 2013-11-03 10:52:26 -08:00
commit 931ce7a579

14
cheatsheets/tail Normal file
View file

@ -0,0 +1,14 @@
# 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