[CentOS] logrotation

umair shakil umairshakeel at gmail.com
Fri Oct 19 07:31:24 UTC 2007


Dear All,

If i want to store the .gz files in date or time format???? what
configurations
are required?

Regards,

Umair Shakil
ETD

On 10/19/07, umair shakil <umairshakeel at gmail.com> wrote:
>
> Dear,
>
> Thanks for your help, BSD and CentOs both are different, cenTos is a
> redhat
> while BSD is totally debian, also commands vary.
>
> Problem is solved
>
> Regards,
>
> Umair Shakil
> ETD
>
> On 10/19/07, Mogens Kjaer <mk at crc.dk> wrote:
> >
> > umair shakil wrote:
> > > Dear all Salam,
> > >
> > > i have installed logrotation package in BSD, the script runs every
> > night at
> > > 3:00 pm night and makes
> > > filename.1.gz. but when i use less command to see this gz file it says
> > "do u
> > > want to see binary file??"
> > > through which utility i can see the contants of the file???
> >
> > If BSD works like Centos, you could use:
> >
> > gunzip -c filename.1.gz|less
> >
> > Mogens
> >
> > --
> > Mogens Kjaer, Carlsberg A/S, Computer Department
> > Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
> > Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
> > Email: mk at crc.dk Homepage: http://www.crc.dk
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20071019/c3f70387/attachment.htm


More information about the CentOS mailing list