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?
To display the contents of a gzip compressed tar archive, use the `tar` command with the options `ztf`. The `z` option tells `tar` to filter the archive through `gzip`, `t` is for listing the contents, and `f` specifies the filename of the archive. Therefore, `tar ztf archive.tgz` is the correct command.
The command that displays the contents of a gzip compressed tar archive is: B. `tar ztf archive.tgz` This command uses `tar` with the `z` option to decompress (gunzip) the archive and then list the contents of the tar archive using the `t` option.