MLUG: Re: [MLUG] tail command & scripting
Re: [MLUG] tail command & scripting
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Wed, Sep 04, 2002 at 03:20:01PM -0500, Ross, Matt wrote:
> Is follow used to check changes since the last time you tailed it?
> I tried it out, and it seemed to display a running log until I ctrl+c'd it.
> 
> I guess you could do "tail error_log -n 1 -f" in one shell window and watch
> the errors stack up.  I do this with ultraedit on my winbox, it asks to
> refresh the file when I go back to look at my code, updating the display of
> errors.  Of course, this only works because the server is indigo_perl and
> running on the winbox.
> 

You usually do tail -f in another window and leave it there.

Example: tail -f /var/log/apache/access.log # Keep an eye on your 
webserver

or try this next time you're doing CGI programming:
tail -f /var/log/apache/error.log # Watch the errors pile up on your 
webserver

Its just really handy when debugging something to have windows tailing the 
relevant logs. 

Regards,
Mark

--
To unsubscribe, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/