[techtalk] Re: [grrltalk] cool commands
Henti Smith
hentis at is.co.za
Thu Sep 30 11:04:00 EST 1999
if you don't want to see the sendmail stuff ... look in /etc/syslogd.conf
and add
mail.* /var/log/maillog
if you want to .. you can even remove mail from
*.info;mail.none;authpriv.none /var/log/messages
an add it to the above to get ..
mail.*;mail.none
/var/log/maillog
Henti / bain
> -----Original Message-----
> From: Ian Hall-Beyer [mailto:manuka at nerdherd.net]
> Sent: Thursday, September 30, 1999 10:11 AM
> To: grrltalk at linuxchix.org
> Cc: techtalk at linuxchix.org
> Subject: [techtalk] Re: [grrltalk] cool commands
>
>
> Crossposted to techtalk, let's resume discussion there
>
> On Thu, 30 Sep 1999, Kristine Budde wrote:
>
> > Best of tail (or head) is the option "-f". If you watch a
> growing file
> > (e.g. log file), it always shows the current last (first)
> lines. You can
> > terminate by hitting ctrl-c.
>
> another thing I do rather frequently, is pipe the output of a tail -f
> command through a grep command, especially on system logs...
> that lets me
> watch for specific log entries pertaining to, say, named,
> without being
> annoyed by all the crap sendmail spews in there.
>
> also real nice if you want to have several windows open, each
> monitoring a
> specific daemon.
>
> -Ian
>
> --
> <cosmo> wow, this is kinda nifty. the win98 protocol stack is
> like a chinese finger puzzle, twist and turn in the right places,
> and it pops right off --Seen on EFNet IRC
>
>
> ************
> techtalk at linuxchix.org http://www.linuxchix.org
>
************
techtalk at linuxchix.org http://www.linuxchix.org
More information about the Techtalk
mailing list