Return to Snippet

Revision: 37410
at December 9, 2010 19:53 by bionic


Initial Code
tail error_log

//or for the last 15 or whatever lines

tail -15 error_log

Initial URL
http://www.wallpaperama.com/forums/how-to-display-show-get-last-10-lines-from-a-file-in-linux-shell-command-t915.html

Initial Description
Handy, especially when you have large logs and you want to see what just happened

Initial Title
Display last 10 lines of log

Initial Tags
Bash

Initial Language
Bash