ywat
ywat

Reputation: 2967

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.

Upvotes: 3

Views: 6070

Answers (1)

Kevin.a
Kevin.a

Reputation: 4296

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.

Upvotes: 6

Related Questions