how to open tar gz code example Example 1: tar.gz terminal tar -xzvf archive.tar.gz Example 2: tar.gz tar -xvzf community_images.tar.gz