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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments