Am 2007-04-23 11:32:53, schrieb Greg Folkert:
> Tyler, look at what "tail -f" it means (basically):
>
> -f, --follow[={name|descriptor}]
> output appended data as the file grows; -f, --follow, and
> --follow=descriptor are equivalent
>
> Which mean it will sit watching the file/file-descriptor for appended
> output and stay attached "forever" until broken out of.
>
> I've used it for years as part of my "watch for certain things in the
> logs" scripts.
"tail" output by default only the last 10 line and then continue
to output stuff which is written ito the file. So if you have a
file with 1000 line it will drop 990 lines, output the last 10 and
then wait for further input.
What you want is something like
tail -n XXX -f <file>
where XXX is a number equal or bigger as the lines in the <file>
Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSN LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Attachment:
signature.pgp
Description: Digital signature