A better tail -f


Filed Under : Command Line

If you’ve ever wanted to use a more powerfull editor while viewing live log files then less is the tool to use.  Instead of typing in the following:

> tail -f /var/log/logfile.log

Try this

> less /var/log/logfile.log


Once inside the less program a capital F will take you to the bottom and wait for data

Leave a Reply

Your email address will not be published. Required fields are marked *