linux command to list contents of zip file code example
Example 1: zip all files command linux
zip -r myfiles.zip mydir
Example 2: how to get list of files in zip linux
unzip -l file.zip
zip -r myfiles.zip mydir
unzip -l file.zip