+2 votes
in Operating Systems by (1.0k points)
How can I compress a file using gzip to create a gzipped file?

1 Answer

0 votes
by (23.4k points)

To compress a file using gzip, type the following command on the terminal:

gzip filename

If the file has space in its name, you need to put the filename inside quotes.

gzip "file name"

To decompress a gzipped file, type the following command on the terminal:

gzip -d filename.gz

...