what is tar.gz file linux code example Example 1: unzip tar.gz tar -xvf file.tar.gz Example 2: tar.gz terminal tar -xzvf archive.tar.gz