From owner-freebsd-questions Wed Apr 17 18:43:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web20107.mail.yahoo.com (web20107.mail.yahoo.com [216.136.226.44]) by hub.freebsd.org (Postfix) with SMTP id DE14D37B400 for ; Wed, 17 Apr 2002 18:43:12 -0700 (PDT) Message-ID: <20020418014312.16524.qmail@web20107.mail.yahoo.com> Received: from [208.179.166.30] by web20107.mail.yahoo.com via HTTP; Wed, 17 Apr 2002 18:43:12 PDT Date: Wed, 17 Apr 2002 18:43:12 -0700 (PDT) From: Bsd Neophyte Subject: what does the 'f' option do with the tar and jar commands? To: freebsd-questions@FreeBSD.ORG In-Reply-To: <4.2.0.58.20020417201006.00964c60@pop.netzero.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG i'm confused as to what this option does exactly... I see it all the time in examples... in my unix text is says the following which is entirely cryptic to me... tar f- Specifices the archivefile or tape device. The default tape device is /dev/rmt/0. If archivefile is "-", then the tar command reads from standard input or writes to standard output, whichever is appropriate jar f - Specifies the jar file or tape drive. The jar command sends the data to the screen if the "f" option is not used. can someone explain this to me? from what I gather you have to use the f option to tell it that the following filename or location is where you want to store (or is it copy) the archived file? now what happens if you don't specify a location for either command? __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message