LinuxQuestions.org
Review your favorite Linux distribution.
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 11-17-2001, 01:40 AM   #1
gogo
Member
 
Registered: Apr 2001
Posts: 117

Rep: Reputation: 15
Unhappy tar command


Hi,

How can I extract a .tgz file?

Is it same as tar?

I tried tar -xfz XXX.tgz, but failed.

Any idea?

gogo

 
Old 11-17-2001, 02:50 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
what was the error it gave you if any, cause that seems right to me on what you tried...

did you try the correct path and correct filename?? not to make it so it sounds stupid, but once i was untarring a file, it kept saying it didn't exist and i was dumbfounded when i was forgetting a dash ( - ) in it...
 
Old 11-17-2001, 04:41 AM   #3
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
tgz is short for tar.gz

Use tar xvzf filename.tgz
 
Old 11-17-2001, 06:52 AM   #4
infernal
Member
 
Registered: Oct 2001
Location: /dev/null
Distribution: Debian, Slackware
Posts: 44

Rep: Reputation: 15
that would be:

tar -zxf yourfile.tgz

It is necesary that yourfile.tgz follows right after the f parameter.....
 
Old 11-17-2001, 10:53 AM   #5
gogo
Member
 
Registered: Apr 2001
Posts: 117

Original Poster
Rep: Reputation: 15
Thanks a lot for all of your help. I can tar it now.

gogo

 
  


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
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 03:48 AM
Tar command juanb Linux - General 4 11-03-2005 01:10 AM
tar command? xmdms Linux - General 4 10-07-2004 02:29 PM
tar command.. johnyy Linux - Software 4 12-31-2003 11:54 PM
Tar command satimis Linux - Newbie 3 11-03-2003 11:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:11 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration