tar -zxvf archive.tar.gz
gunzip file.gz
tar -zcvf archive.tar.gz directory/
gunzip filename.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