Lpi Linux Essentials 010 160 · Free Practice Question Easy

Question 4

What is the proper command to use to compress the file filename.txt into the zip archive called myfile.zip?
  • A unzip myfile.zip filename.txt
  • B zip myfile.zip filename.txt
  • C unzip filename.txt myfile.zip
  • D zip filename.txt myfile.zip
Reveal correct answer

Correct answer: B

Explanation

OBJ-3.1: The syntax for zipping a file into a zip archive is "zip myfile.zip filename.txt".

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