Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-22 00:22:43 +00:00
parent 9017f8acda
commit 716a67f83d
236 changed files with 290 additions and 289 deletions

View File

@@ -8,18 +8,18 @@ source: https://github.com/tldr-pages/tldr.git
> 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:
- Recursively archive all files in the current directory into a `.jar` file:
`jar cf {{file.jar}} *`
- Unzip .jar/.war file to the current directory:
- Unzip `.jar`/`.war` file to the current directory:
`jar -xvf {{file.jar}}`
- List a .jar/.war file content:
- List a `.jar`/`.war` file content:
`jar tf {{path/to/file.jar}}`
- List a .jar/.war file content with verbose output:
- List a `.jar`/`.war` file content with verbose output:
`jar tvf {{path/to/file.jar}}`