See List of Files in Zip in Linux

Last updated on Dec 28, 2019 in Linux

Zip is a compression method and utility program in Linux. You can compress single files and folders with it. Sometimes you have a zip file which content is unknown to you. Easiest way to see the contents of the zip file is to use zipinfo utility.

Let’s assume that your zip file is named myfile.zip. In Linux terminal, type:

$ zipinfo myfile.zip

This will output the files that are included in the zip. To extract these files, check article: Extract Zip File in Linux.