nerdexam
CompTIA

LX0-101 · Question #420

Which of the following commands will show the contents of a gzip compressed tar archive?

The correct answer is B. tar ztf archive.tgz. See the full explanation below for the reasoning.

Question

Which of the following commands will show the contents of a gzip compressed tar archive?

Options

  • Agzip archive.tgz | tar xvf -
  • Btar ztf archive.tgz
  • Cgzip -d archive.tgz | tar tvf -
  • Dtar cf archive.tgz

How the community answered

(32 responses)
  • A
    6% (2)
  • B
    78% (25)
  • C
    13% (4)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full LX0-101 Practice