[NTLUG:Discuss] More from the Saturday topic of "Less is More..."

Stuart Johnston saj at thecommune.net
Tue Apr 19 16:38:00 CDT 2005


Chris J Albertson wrote:
> When the topic of Less came up in the 10AM training class, I raised the 
> question of if Less would append data to a "live" file being viewed. The 
> answer is Yes. When you open a log file for a running process with less, 
> the new data will be added to the existing less session whenever a 
> command is issued to less by the user.
> Think   tail -f   with the ability to search like vi.

Hey, that's uber-nifty!  Looks to me like you can hit 'R' to refresh or 
'F' to auto-refresh and scroll forward.

Thanks for the tip!  Now how about a way to combine that with a grep?

-Stuart




More information about the Discuss mailing list