How do I uncompress a file?
-
gunzip/expand
-
gzip
-
zip
-
winzip
Reveal answer
Fill a bubble to check yourself
A
Correct answer
Explanation
gunzip is the standard command to uncompress .gz files, and expand uncompresses files created with the compress command. gzip is for compression (not decompression), zip creates .zip archives, and winzip is not a Unix tool.
AI explanation
gunzip (or the equivalent expand/gzip -d) reverses gzip compression and restores the original file, which is exactly what 'uncompress' means here. gzip alone compresses a file rather than decompressing it, zip creates a different archive format entirely, and winzip is a Windows GUI tool, not a Unix command.