[CentOS] logrotation

Fri Oct 19 06:50:56 UTC 2007
Mogens Kjaer <mk at crc.dk>

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