also sprach Brenda J. Butler <bjb@achilles.net> [2002.01.12.2340 +0100]:
> > on Sat, 12 Jan 2002 04:20:22PM -0500, dman insinuated:
> > > tail -f <filename>
>
> Actually, use less on the file; then when in less type F
> (capital-f).
>
> It does the same thing, plus you can escape out with
> C-c and you're back to less-ing the file (you can look
> back a few pages, forward a few pages, search for stuff).
>
> You can use the F command to get back to looking at
> the latest additions anytime.
fair enough, it's a nice tool i admit, especially because less can to
'/' searching. however, tail -f goes right into follow mode, without
requiring interaction, and a large terminal buffer allows for scrollback
with shift-pg{up,down}.
but then i man'd less and check this out:
less +F /var/log/mail.log.
i'd kick tail right here if it weren't for tails actual purpose, and
because you are out of tail -f twice as fast as less +F...
unless someone knows a way to combine ctrl-c & q into one command...
--
martin; (greetings from the heart of the sun.)
\____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
micros~1: for when quality, reliability, and security
just aren't that important!
Attachment:
pgpwAEXXom0rS.pgp
Description: PGP signature