I want to see the contents (list of files and folders) of an archive, for example a tar.gz
file without extracting it.
Are there any methods for doing that?
command line
I want to see the contents (list of files and folders) of an archive, for example a tar.gz
file without extracting it.
Are there any methods for doing that?
Best Answer
Run the below command in the terminal to see the contents of a tar.gz file without extracting it: