This may not be very obvious but this is the command line to list files within a tar.gz archive on the fly:
tar -tzf file.tar.gz
-t: lists files
-f: instructs tar to deal with the following filename (file.tar.gz)
-z: informs tar that the it's dealing with a gzip file (-j if it's bzip2)
In the meantime, if you found this article useful, feel free to buy me a cup of coffee below.