Linux and Nagios‎ > ‎

Using Tail to watch a log file

posted 13 Dec 2011, 00:19 by Tristan Self
If you ever need to watch a log file to see if something goes into it, here is a cheeky command to do that.
The -f says to watch for updates, the -n 500 shows how many lines to bring back.
tail -f -n 500 <Filename>