How to unTAR a .bz2 file in Linux

- by

I always forget how to unTAR a .bz2 file – perhaps this little memory aid will help me remember for the future.

tar -xjvf filename.bz2

This will do the trick 🙂 The key to the magic is to provide the j switch, which tells the TAR command to use bzip2 compression.

If you enjoy my content, please consider supporting me on Ko-fi. In return you can browse this whole site witout any pesky ads! More details here.

Add your voice!

This site uses Akismet to reduce spam. Learn how your comment data is processed.