The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
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

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 08-26-2002
Registered User
 

Join Date: Aug 2001
Location: Boston
Posts: 8
Unhappy tar expanding trouble

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  
Old 08-26-2002
oombera's Avatar
Registered User
 

Join Date: Aug 2002
Location: Cleveland, OH
Posts: 804
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  
Old 08-26-2002
Registered User
 

Join Date: Aug 2001
Location: Boston
Posts: 8
Thanks man!!

That worked
  #4  
Old 08-26-2002
Registered User
 

Join Date: Nov 2001
Location: New Zealand
Posts: 333
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  
Old 08-26-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
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
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:49 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0