cmd

Adding ‘tail -f’ behavior to ‘less’

$ less +F /var/log/messages

The +F option turns on less ‘follow mode’. It is similar to tail -f but you will have the benefits of less, like scrolling up and down.
To stop tailing, use Ctrl-C and to resume it, press Shift-F.

speak up

Add your comment below, or trackback from your own site.

Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*Required Fields