Thread Closed 
How to Uncompress tar.bz2 File?
03-26-2012, 06:56 PM
Post: #1
How to Uncompress tar.bz2 File?
Hi i have download some file document.tar.bz2

but when i type tar zxf document.tar.bz2 i get error.

then i type unzip its not work too..
can help me how to uncompress that file on shell ? i have uncompress on my PC and its work using winzip but when i uploaded it its not complete in 82%.

Thanks.
User Tools


03-26-2012, 07:42 PM
Post: #2
RE: How to Uncompress tar.bz2 File?
Hello there!

You are on the right path of extracting this file, but you need to change the so called "flags" (as command-line application options are called in Linux) of the "tar" command.
Instead of using tar -zxf, use tar -xjf.

The -x stands for eXtract, -j tells the program you intend to eXtract a bzipped file and -f tells the program that it will be extracting from a file you will specify next.

In Linux, it is useful to use the "man" command. The man(ual) will list all the flags for a command and provide descriptions to help you.
For instance, try "man tar".
User Tools
03-26-2012, 08:08 PM
Post: #3
RE: How to Uncompress tar.bz2 File?
Thank you very much bro.... its work.... Smile sorry im new using vps...

thank you for help.
User Tools
03-26-2012, 10:49 PM
Post: #4
RE: How to Uncompress tar.bz2 File?
Closed, please PM me if you feel this needs to be reopened.

Google also could solve that.
User Tools
Thread Closed 


Forum Jump:



User(s) browsing this thread:
1 Guest(s)