Extract tar.bz2 files

Extract tar bz2 files

Many users facing an issue because of unknown tar.bz2 extensions while extracting file and receive a error like

Message log:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

To resolve the above error simply, refer following command to extract the file.

tar -xvjf filename

Replace filename which you want to extract.

Explanation of command

x – Extract
v – Verbose output
j – Deal with bzipped file
f – Read from a file, rather than a tape device

If you required more information, than simply use following command to know more options available with “tar” command.

“tar –help”

 

 

About Anant 386 Articles
Senior technical writer