Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Dec 102010
 

Extract a bzipped tar file

Answer:

Normally tar is combined with gzip as the most common usage, however, sometimes people use bzip2 instead for maximum compression rate. File in such format usually have the file name like: program.tar.bz2

To extract it using a single command:

# tar -jxvf program.tar.bz2

The key is the argument - j

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>