Gzip is often used for compressing files such as SQL exports. To unzip such a file, run this command:
gzip -d file.gz