≡ Menu

How to unzip a .bz2 file with tar command

If you have a file with .tar.bz2 extension you can easily unzip it with a tar command on the commandline. Here is the actual command

tar -xvjpf filename.tar.bz2

In addition .bz files can also be opened / unzip with a bunzip2 command as follow. However this command will only work if you have already bunzip2 installed.

bunzip2 filename.bz2

{ 0 comments… add one }

Leave a Comment

Real Time Web Analytics