Lpi Linux Essentials 010 160 · Free Practice Question Easy

Question 16

Which of the following options is used to gzip a file called filename?
  • A gzip -c filename
  • B gzip filename
  • C gzip -x filename
  • D gzip -z filename
Reveal correct answer

Correct answer: B

Explanation

OBJ-3.1: The syntax for using gzip is "gzip filename". By default, when you compress a file or folder using the gzip command, it will have the same file name as before but with the extension .gz.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need