List a .jar/.war file content with verbose output

jar

  • Java applications/libraries packager.
    More information: <https://docs.oracle.com/javase/tutorial/deployment/jar/basicsindex.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

jar tvf {{path/to/file.jar}}

click the source code to copy install jar on any operating system with command-not-found.com