Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

How to tail logs (See related posts)

tail -200 /var/log/exim_mainlog
tail -200 /usr/local/apache/logs/error_log


To watch the log get updated in real time:
tail -f /var/log/messages 

Comments on this post

danb posts on Oct 22, 2005 at 12:32
tail -f /var/log/messages

Continuously watch a log file in real time.
nothingless posts on Oct 26, 2005 at 14:27
Thanks for that, I added it to the main post!

You need to create an account or log in to post comments to this site.


Related Posts