To list files in a tarball (tar.gz or tgz):
tar -tvzf
or a tar file (.tar)
tar -tvf
These commands will list the contents of the tarball without extracting any files.
To list files in a tarball (tar.gz or tgz):
tar -tvzf
or a tar file (.tar)
tar -tvf
These commands will list the contents of the tarball without extracting any files.