Skip navigation

Monthly Archives: April 2011

One of my favorite tools is less.  Less is more.  It’s such a fun name.  I just found a little known keystroke in less, upper case F.

From the man page:

Scroll forward, and keep trying to read when the end of file is reached. Normally this command would be used when already at the end of the file. It is a way to monitor the tail of a file which is growing while it is being viewed. (The behavior is similar to the “tail -f” command.)

Wow!  Now I can have a search running, tail some log files, and break out of the tail when I see something highlighted scroll by.