The Easiest Way on How to Decompress Using gzip



This short tutorial teaches you the easiest way how to decompress a file using gzip — uncompressing a gz file will never be a problem again.

1. How to gzip to Decompress – Uncompress a File

This tutorial shows two ways how to decompress a gz file.

The first approach uses gunzip and goes as follows:

$ 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 follows:

$ tar -zxvf your_file.tar.gz

In case you want to learn more about uncompressing files, please check this video class

2. More Resources