Here is the video version, if you prefer it:
The gzip
command is used to compress one or more files. (Shotts, 2019) Here is its syntax:
gzip fileName
Interesting options include:
-v
– verbose mode (informative output is displayed)
-t
– test the integrity of the compressed file
-d
– decompress
For decompression you can use gunzip
command as follows:
gunzip fileName
That way you can decompress a file compressed with gzip
.
Thank you for reading!
References
Shotts, W. (2019). The Linux Command Line, Fifth Internet Edition. Retrieved from http://linuxcommand.org/tlcl.php. Pages 259-261