LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 01-31-2009, 04:49 PM   #1
Adso
LQ Newbie
 
Registered: Jan 2009
Posts: 7
Thanked: 0
Exclamation How to uncompres a file .tar.gz from the bash?


[Log in to get rid of this advertisement]
The question said everything... I was looking for, but I did not find nothing, any command.
If you can tell me the command or where can I find it (any tutorial or something like this).

Thank you!!!
Adso is offline  
Tag This Post , , ,
Reply With Quote
Old 01-31-2009, 04:51 PM   #2
Maligree
Member
 
Registered: Mar 2008
Distribution: Fedora .. Mac OS X
Posts: 201
Blog Entries: 1
Thanked: 12
tar xzf <filename> or tar xzvf <filename> for verbose mode.
  • x - etract
  • z - gzip format (j for bzip)
  • v - verbose output
  • f - read file specified as an argument, instead of waiting for it on stdin

Last edited by Maligree; 01-31-2009 at 04:55 PM..
Maligree is offline     Reply With Quote
Old 01-31-2009, 04:54 PM   #3
jailbait
Guru
 
Registered: Feb 2003
Location: atop the Blue Ridge
Distribution: Debian Lenny, CentOS 5.2
Posts: 7,250
Thanked: 31
Use the tar command. The documentation is:

man tar

As an example: Suppose you have a file called new.source.tar.gz in a directory called /tmp/source then use these commands to unpack the tarball:

cd /tmp/source
tar -xzf new.source.tar.gz

--------------------
Steve Stites
jailbait is offline     Reply With Quote
Old 01-31-2009, 05:14 PM   #4
Adso
LQ Newbie
 
Registered: Jan 2009
Posts: 7
Thanked: 0

Original Poster
Thank you!
Adso is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 Off
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 10 02-23-2008 06:40 AM
need some help with muli-volume tar (ubuntu, bash, gnu tar) MattCarp Linux - General 4 06-05-2006 09:15 AM
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 04:15 AM
Set name of tar file as date using bash otisthegbs Linux - Software 5 12-18-2003 04:34 PM


All times are GMT -5. The time now is 09:51 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration