jar
Java Applications/Libraries Packager. More information: https://docs.oracle.com/javase/tutorial/deployment/jar/basicsindex.html.
- Recursively archive all files in the current directory into a .jar file:
jar cf {{file.jar}} *
- Unzip .jar/.war file to the current directory:
jar -xvf {{file.jar}}
- List a .jar/.war file content:
jar tf {{path/to/file.jar}}
- List a .jar/.war file content with verbose output:
jar tvf {{path/to/file.jar}}
This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.