Tuesday, September 6, 2011

A "live" view of a logfile on Linux


A "live" view of a logfile on Linux

This approach works for any linux operating system, including Ubuntu, and is probably most often used in conjunction with web development work.
#tail -f /var/logfile.log
This will give you a scrolling view of the logfile. As new lines are added to the end, they will show up in your console screen.



As with all linux apps, Ctrl+C will stop it.

    No comments:

    Post a Comment