ywat ywat - 1 year ago 155
Linux Question

Linux command to check zip file hierarchy

Is there a good linux command that can show the file hierarchy of zipped directory?

If I open a zip file with emacs, I can see it. But I guess there is a appropriate command for that purpose.

Thank you.

Answer Source

The less utility is capable of peeking into a zip archive. In fact, if you look at the outputs of unzip -l zipfile and less zipfile, you will find them to be identical.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download