7zip .tar.gz code example Example 1: unzip a tar.gz file in linux tar -xvzf community_images.tar.gz Example 2: extract tar.gz tar -xf archive.tar.gz