LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-19-2002, 09:42 PM   #1
jester_69
Member
 
Registered: May 2002
Location: Sydney Australia
Distribution: Redhat 6.1 & 7.2
Posts: 91

Rep: Reputation: 15
extracting files


Hi,

How do i extract from a .Z type file..

Thankyou
 
Old 05-19-2002, 09:52 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
This is typical UNIX compressed file. To extract you have to use zcat or uncompress utilities.
 
Old 05-19-2002, 09:59 PM   #3
jester_69
Member
 
Registered: May 2002
Location: Sydney Australia
Distribution: Redhat 6.1 & 7.2
Posts: 91

Original Poster
Rep: Reputation: 15
I normally just use tar -zxvf filename. What would the command be now
 
Old 05-19-2002, 10:04 PM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
uncompress -c
or
zcat
if you've installed them
 
Old 05-19-2002, 10:51 PM   #5
Sfin
Member
 
Registered: Apr 2002
Location: Michigan
Distribution: Slackware 8.0
Posts: 197

Rep: Reputation: 30
or you can try

tar Zxvf filename

the capital Z tells it to filter thourgh compress, if you have it installed that is.

Also it might be helpfull to do a:

man tar

to get a list of all the commands that tar accepts, and what they do.
 
Old 05-19-2002, 11:21 PM   #6
rverlander
Member
 
Registered: May 2002
Distribution: A few
Posts: 488

Rep: Reputation: 30
Try

tar zxf filename.tar.Z
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extracting many zip files xconspirisist Linux - Software 2 07-18-2004 01:43 PM
Extracting Lines from files supreme_command Linux - Newbie 1 05-12-2004 04:21 AM
extracting .gz files MACSRULE Linux - Newbie 2 04-13-2004 06:16 PM
Extracting files BriceM Linux - General 3 08-15-2003 03:00 PM
Extracting files from a .bin LinuxBAH Linux - Software 1 06-25-2003 06:43 PM


All times are GMT -5. The time now is 03:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration