Re: logrotation

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



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@xxxxxx> 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@xxxxxx Homepage: http://www.crc.dk
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
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