How can I untar a tar.bz file in unix?

Tim picture Tim · Feb 26, 2012 · Viewed 66.7k times · Source

I've found tons of pages saying how to untar tar.bz2 files, but how would one untar a tar.bz file?

Answer

Shiplu Mokaddim picture Shiplu Mokaddim · Feb 26, 2012

use the -j option of tar.

tar -xjf /path/to/archive.tar.bz