Linux - Newbie This Linux 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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-31-2009, 03:49 PM
|
#1
|
|
LQ Newbie
Registered: Jan 2009
Posts: 7
Rep:
|
How to uncompres a file .tar.gz from the bash?
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!!!
|
|
|
|
01-31-2009, 03:51 PM
|
#2
|
|
Member
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Rep:
|
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 03:55 PM.
|
|
|
|
01-31-2009, 03:54 PM
|
#3
|
|
Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Squeeze, Fedora 14
Posts: 7,268
Rep:
|
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
|
|
|
|
01-31-2009, 04:14 PM
|
#4
|
|
LQ Newbie
Registered: Jan 2009
Posts: 7
Original Poster
Rep:
|
Thank you!
|
|
|
|
| Thread Tools |
Search 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
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:27 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|