exam questions

Exam 010-160 All Questions

View all questions & answers for the 010-160 exam

Exam 010-160 topic 1 question 70 discussion

Actual exam question from LPI's 010-160
Question #: 70
Topic #: 1
[All 010-160 Questions]

Which of the following commands creates the ZIP archive poems.zip containing all files in the current directory whose names end in .txt?

  • A. zip *.txt > poems.zip
  • B. zcat *.txt poems.zip
  • C. zip poems.zip *.txt
  • D. zip cfz poems.zip *.txt
  • E. cat *.txt | zip poems.zip
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
sasquatchshrimp
Highly Voted 3 years, 9 months ago
This is correct, you zip, then name the file, then specify the files with a wildcard if they are all the same type of file.
upvoted 6 times
...
hardware69
Most Recent 8 months ago
C: Correct zip archivename.zip filename1 filename2 filename3
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago