Categories
Linux Tutorial Series

Linux Tutorial Series – 126 – The gzip command

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

NewsletterUpdates on interesting things I am doing

Subscribe to my newsletter to keep abreast of the interesting things I'm doing. I will send you the newsletter only when there is something interesting. This means 0% spam, 100% interesting content.

Leave a Reply

Your email address will not be published. Required fields are marked *