untar tar.bz2 code example Example 1: unzip tar.bz2 tar -xf archive.tar.bz2 Example 2: untar tar.gz tar -xzf file.tar.gz