tar linux unzip file code example Example 1: tar unpack tar -xzf packed.tar.gz Example 2: untar .tar file tar -xvf yourfile.tar