Exam4Training

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

Which of the following commands displays the contents of a gzip compressed tar archive?
A . gzip archive.tgz | tar xvf ­
B . tar ztf archive.tgz
C . gzip -d archive.tgz | tar tvf ­
D . tar cf archive.tgz

Answer: B

Exit mobile version