The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 06:19 PM
expanding standard terminal size prkfriryce Shell Programming and Scripting 6 11-14-2006 01:38 PM
Expanding Variables in User Input Bsk UNIX for Advanced & Expert Users 2 11-18-2005 10:45 AM
expanding dotted paths to absolute ones in bash or sh TanRanger Shell Programming and Scripting 4 07-13-2005 09:59 AM
NIS trouble farzolito UNIX for Advanced & Expert Users 10 12-10-2001 04:44 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-26-2002
TAT2ME74 TAT2ME74 is offline
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!
  #2 (permalink)  
Old 08-26-2002
oombera's Avatar
oombera oombera is offline Forum Advisor  
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 (permalink)  
Old 08-26-2002
TAT2ME74 TAT2ME74 is offline
Registered User
  
 

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

That worked
  #4 (permalink)  
Old 08-26-2002
peter.herlihy peter.herlihy is offline
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.
  #5 (permalink)  
Old 08-26-2002
LivinFree's Avatar
LivinFree LivinFree is offline Forum Advisor  
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:32 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0