shell extract tar code example Example 1: tar unpack tar -xzf packed.tar.gz Example 2: uncompress tar tar -xvf filename.tar