Last Updated: December 26, 2018
·
533
· jdigger

Viewing a file in a JAR

Often it's useful to see the contents of a file enclosed in a JAR, such as the MANIFEST.MF Since a JAR file is a ZIP file with additional data, you can use the -p switch of the unzip command.

For example: unzip -p jarfile.jar META-INF/MANIFEST.MF