List files of a zip archive file without unzipping it with zip
2 options: using zip or unzip.
Using zip
$ zip -sf archive.zip
or:
$ zip --show-file archive.zip
From the the man page of zip:
The -sf show files option can be used to scan for files and get the list of files scanned without actually processing them.
Using unzip
$ unzip -l file.zip
or
$ less file.zip
$ unzip -l file.zip | less
both which will have identical output on GNU/Linux.
If you can remember zip or unzip syntax use:
$ sudo apt install tldr
$ tldr zip
$ tldr unzip
personal computing command-line interface (cli) gnu linux trisquel shell literacy office applications wiki text processing zip