This short tutorial teaches you the easiest way on how to decompress a file using gzip — uncompressing gz files will never be a problem again.
How to gzip to Decompress – Uncompress a File
This tutorial shows two ways to decompress gzip files.
The first approach uses gunzip and can be done as following:
$ gunzip your_file.gz
Next, the second approach uses gzip
$ gzip -d your_file.gz
Last but not least, in case you have a file compressed as tar.gz, you can uncompress it as following:
$ tar -zxvf your_file.tar.gz
In case you want to learn more about uncompressing files, please check this video class