log wiever

Christopher K. Johnson ckjohnson at gwi.net
Thu Feb 12 15:36:08 UTC 2004


John wrote:

> Also, if you just want to see the last 100 (or ?) lines of a file.. 
> try the tail command (see "man tail").
> For example, if I want to see the last 100 lines of my maillog file.. 
> I can use:
> # tail -100 /var/log/maillog

And if you want to monitor logging you can use:
tail -f /var/log/messages

Just ctrl-c to stop it.

-- 
-----------------------------------------------------------
   "Spend less!  Do more!  Go Open Source..." -- Dirigo.net
   Chris Johnson, RHCE #807000448202021






More information about the users mailing list