Re: Watch contents of log-file - why doesn't it work?
- From: Toby Darling <anothercoffee@xxxxxxxxxxxxxx>
- Date: Thu, 5 Jun 2008 04:47:28 -0700 (PDT)
"tail -f file" only lists the last part of the file and not the
beginning?
I want to see the beginning and then in the end continous output
should be added.... "tail -f" doesn't completely do that?
Open the file with less, read to the end then hit F
F 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.)
Cheers
.
- Follow-Ups:
- Re: Watch contents of log-file - why doesn't it work?
- From: text-dude
- Re: Watch contents of log-file - why doesn't it work?
- References:
- Watch contents of log-file - why doesn't it work?
- From: text-dude
- Re: Watch contents of log-file - why doesn't it work?
- From: pk
- Re: Watch contents of log-file - why doesn't it work?
- From: text-dude
- Watch contents of log-file - why doesn't it work?
- Prev by Date: Re: Two text processing problems
- Next by Date: Re: Watch contents of log-file - why doesn't it work?
- Previous by thread: Re: Watch contents of log-file - why doesn't it work?
- Next by thread: Re: Watch contents of log-file - why doesn't it work?
- Index(es):
Relevant Pages
|