how to unpack tar file linux code example Example 1: tar unpack tar -xzf packed.tar.gz Example 2: linux unpack tar.gz file tar -zxvf file_name.tar.gz