run tar.gz code example Example 1: untar tar.gz tar -xzf file.tar.gz Example 2: tar.gz terminal tar -xzvf archive.tar.gz