Re: tail -f /var/log/maillog error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Jan 04, 2007 at 07:14:57AM -0600, Robert Becker Cope enlightened us:
> "Indunil Jayasooriya" <indunil75@xxxxxxxxx> wrote:
> 
> >  When I type the below command, it shows the logs for mail.
> > tail -f /var/log/maillog
> >
> > But , Since this morning, It shows nothing.
> 
> Did you leave this running overnight? If so, your logs may have rotated, and
> you are no longer "tailing" the right file.
> 

Yes, if you plan on leaving long-running tails of logs, you may want to look
into the -F option, rather than -f. The man page will explain more.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux