A better tail -f

2009/11/24

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

>F

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 *