ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 37 - XK0-005 discussion

Report
Export

A Linux administrator recently downloaded a software package that is currently in a compressed file.

Which of the following commands will extract the files?

A.
unzip -v
Answers
A.
unzip -v
B.
bzip2 -z
Answers
B.
bzip2 -z
C.
gzip
Answers
C.
gzip
D.
funzip
Answers
D.
funzip
Suggested answer: C

Explanation:

The command gzip can extract files that are compressed with the gzip format, which has the extension .gz. This is the correct command to use for the software package. The other options are incorrect because they either compress files (bzip2 -z), unzip files that are compressed with the zip format (unzip -v or funzip), or have the wrong options (-v or -z instead of -d). Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 11: Managing Files and Directories, page 353.

asked 02/10/2024
Aldrin Advincula
27 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first