How can I list the files in a zip archive without decompressing it?
The less
utility is capable of peeking into a zip
archive.
Less comes bundled with Unix and there is no need to install als. The output is scrollable (paged) and does not log things to the terminal (unlike unzip -l mentioned in the other answer).
As per https://superuser.com/a/216675/249975,
So simply use less filename.zip
Use unzip with -l
option:
unzip -l file.zip