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

1 Answer

+2 votes
by (346k points)
selected by
 
Best answer

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

Related questions


...