nerdexam
LPI

101-400 · Question #20

Which of the following commands displays 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 displays 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

(23 responses)
  • A
    9% (2)
  • B
    83% (19)
  • C
    4% (1)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 101-400 Practice