The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 05-02-2006
amro1 amro1 is offline
Registered User
  
 

Join Date: Mar 2006
Posts: 105
here ...

tar by the name is "tape archive" so it assumes, if "-f" option wasn't provided it tries to put file on the tape drive: /dev/rmt is a acronym of tape drive in UNIX.

So you give it "-f" option and a file name to redirect archive to file and not to tape.

Today's tar is quite improved so there's no need to use compression as a separate program. Just add "z", like "tar -cvzf". Some versions of tars take the list of parameters without "-" but normally it is required. Get "UNIX Essentials and UNIX Core" DVD or "UNIX in 24 hours" as they teach all this stuff.

Hope it helps.