![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| X trouble | izua | UNIX for Dummies Questions & Answers | 0 | 01-03-2007 03:19 PM |
| expanding standard terminal size | prkfriryce | Shell Programming and Scripting | 6 | 11-14-2006 10:38 AM |
| Expanding Variables in User Input | Bsk | UNIX for Advanced & Expert Users | 2 | 11-18-2005 07:45 AM |
| expanding dotted paths to absolute ones in bash or sh | TanRanger | Shell Programming and Scripting | 4 | 07-13-2005 05:59 AM |
| NIS trouble | farzolito | UNIX for Advanced & Expert Users | 10 | 12-10-2001 01:44 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello,
I have just download a .tar.gz when I run: $tar x *.tar.gz or even $tar z *.tar.gz this is the error I get tar: can't open /dev/sa0 : Device not configured How do I reconfigure the device so that it expands the file in it's current location? Thanks so much for your help! |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
I haven't fooled with tarred files much yet, but:
What about that .gz extension? Try this: 1. create a temporary directory somewhere and move the tarred file into it 2. tar zxf filename.tar.gz Reference: Installing Unix .tar files, help! |
|
#3
|
|||
|
|||
|
Thanks man!!
That worked |
|
#4
|
|||
|
|||
|
The gz is a zip that you should take off first.
i.e. gunzip filename.tar.gz you canthen pipe that through tar do do both in one command line.
__________________
Pete |
|
#5
|
||||
|
||||
|
Just for clarification, some versions of tar can automagically uncompress the file when it sees the z flag. The f flag tells it where to look - the default is usually a tape device on your system (in the OPs case, /dev/sa0, which is not attached to a tape drive).
Check your man page for tar to see if your tar acts in this way. |
||||
| Google The UNIX and Linux Forums |