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