From owner-freebsd-questions@FreeBSD.ORG Tue May 2 17:45:04 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF87616A49A for ; Tue, 2 May 2006 17:45:04 +0000 (UTC) (envelope-from dave.list@pixelhammer.com) Received: from ecluster5.tls.net (ecluster5.tls.net [65.196.224.135]) by mx1.FreeBSD.org (Postfix) with SMTP id 0DEB743D69 for ; Tue, 2 May 2006 17:45:00 +0000 (GMT) (envelope-from dave.list@pixelhammer.com) Received: (qmail 47514 invoked by uid 89); 2 May 2006 17:50:07 -0000 Received: from 204-8-13-204.bb.hrtc.net (HELO ?192.168.0.103?) (ldg%tls.net@204.8.13.204) by auth-ecluster5.tls.net with SMTP; 2 May 2006 17:50:07 -0000 Message-ID: <44579A84.1030604@pixelhammer.com> Date: Tue, 02 May 2006 13:44:36 -0400 From: DAve User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20060502135342.M75477@bmyster.com> In-Reply-To: <20060502135342.M75477@bmyster.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: new file format for log files in 5x tree ?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 May 2006 17:45:05 -0000 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 " 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