Which of the following commands displays the contents of a gzip compressed tar archive?
gzip archive.tgz | tar xvf -
tar ztf archive.tgz
gzip -d archive.tgz | tar tvf -
tar cf archive.tgz
Referência recomendada para estudo
The tar command uses z for gzip compression, t to list contents (table of contents), and f to specify the file.
tar
z
t
f