[NTLUG:Discuss] More from the Saturday topic of "Less is More..."
brad angelcyk
bradangelcyk at gmail.com
Tue Apr 19 17:14:55 CDT 2005
# less /proc/cpuinfo | grep -i intel
vendor_id : GenuineIntel
On 4/19/05, Stuart Johnston <saj at thecommune.net> wrote:
> 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
>
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
>
More information about the Discuss
mailing list