How to Gzip a File in Linux?
Contents

How do you gzip a file in Linux?

Linux gzip.

Gzip (GNU zip) is a compressing tool, which is used to truncate the file size.

By default original file will be replaced by the compressed file ending with extension (.gz).

To decompress a file you can use gunzip command and your original file will be back.

What is the use of gzip command in Unix?

Gzip(GNU zip) is a compress tool which is available in most of the Linux/Unix based operating systems. Until recent years gzip and bzip2 are most commonly used data compression tools in Linux/Unix. Though gzip compress ratios are not good when compared to bzip2 but it is popular among masses.

Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest