gzip file compression and decompression
Compress or decompress files in the .gz format.
By default, gzip keeps the original file name and timestamp in the compressed file.
These are used when decompressing the file with the -N option. This is useful when the compressed file name was truncated or when the time stamp was not preserved after a file transfer.
The compressed file looks like this:
You can even compress multiple files at once.
To compress all the files in a current directory.
Compressed files can be restored to their original form using gzip -d or gunzip or zcat.
It will decompress the above mentioned 3 screenshots. you can perform the same operation using gunzip command:
You can decompress all the files just like gzip using gunzip command.