untar and unzip tar.gz in linux code example Example 1: unzip tar.gz tar -xvf file.tar.gz Example 2: unzip a tar.gz file in linux tar -xvzf community_images.tar.gz