From owner-freebsd-questions Mon May 12 18:37:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA19214 for questions-outgoing; Mon, 12 May 1997 18:37:28 -0700 (PDT) Received: from luke.cpl.net ([206.85.245.131]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA19207 for ; Mon, 12 May 1997 18:37:25 -0700 (PDT) Received: from localhost (shawn@localhost) by luke.cpl.net (8.8.5/8.7.3) with SMTP id SAA08888; Mon, 12 May 1997 18:37:17 -0700 (PDT) Date: Mon, 12 May 1997 18:37:16 -0700 (PDT) From: Shawn Ramsey To: Bernard Courtney cc: questions@freebsd.org Subject: Re: UN Tar In-Reply-To: <3377B931.244C@bythehand.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > HI all, > > Quick question- what is the command to un tar a local file? eg. I have > qmail in the /var directory, I want to extract it to the /var directory- > what is the command? Try tar xvf filename.tar. If it ends in .gz do tar xvfz filename.tar.gz.