List the contents of backup.tar.gz without extracting it. (Use tar -tzf command)
List the Contents of backup.tar.gz Without Extracting
Use the following command:
bashCopyEdittar -tzf backup.tar.gz
Explanation of Options:
t → List the contents of the archive
z → Handle gzip (.gz compressed file)
f → Specify the archive file
...