linux gzip file terminal code example Example: how to unzip gzip files in terminal for a .gz file use: gunzip name_of_file.gz