Date: Tue, 02 May 2006 13:44:36 -0400 From: DAve <dave.list@pixelhammer.com> To: freebsd-questions@freebsd.org Subject: Re: new file format for log files in 5x tree ?? Message-ID: <44579A84.1030604@pixelhammer.com> In-Reply-To: <20060502135342.M75477@bmyster.com> References: <20060502135342.M75477@bmyster.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Brent wrote:
> Hello,
>
> I just upgraded a server of mine to the 5.4 release & noticed that maillogs &
> cron logs are now being zipped into bz2 compressed files. I know this is a
> stupid question but what do use on the system to unpack these files ? so i cn
> look at logs ...
>
>
> thank you
> --
> Brent
>
The file command is your friend,
bash-2.05b# file /usr/log/auth.log.0.bz2
/usr/log/auth.log.0.bz2: bzip2 compressed data, block size = 900k
bash-2.05b# man bzip2
NAME
bzip2, bunzip2 - a block-sorting file compressor, v1.0.2
bzcat - decompresses files to stdout
bzip2recover - recovers data from damaged bzip2 files
etc..... Check out "man apropos" and "man man"
Three times when I first started using FreeBSD I got a response to a
posted question that consisted solely of
"man <something>"
from John Polstra (the name drop is on purpose, I didn't know who was
being so kind to me at the time, he was very "patient". I was fortunate).
Then I wised up and I started every evening after dinner, running
through /bin /sbin /usr/bin and /usr/sbin. Put each program name through
man and read what it said. Then I started looking through /etc....
Learned a lot, not enough, but a lot. Most of what you need to know is
already on a Unix system.
DAve
--
This message was checked by forty monkeys and
found to not contain any SPAM whatsoever.
Your monkeys may vary
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44579A84.1030604>
