Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

25
tldr/jar Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`