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