extract .gz log linux code example Example: unzip gz file linux Unzip a . GZ file by typing "gunzip" into the "Terminal" window