tar -zxvf archive.tar.gz
gunzip file.gz
tar -zcvf archive.tar.gz directory/
tar -xvzf community_images.tar.gz
gunzip file_to_unzip.gz
# Unzip GZ file
gunzip file.gz
or
gzip -d file.gz
#for example, the rockyou.---.gz file in kali
gunzip rockyou.---.gz
Unzip a . GZ file by typing "gunzip" into the "Terminal" window