mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 17:46:02 +02:00
jar: add Chinese translation (#5977)
This commit is contained in:
parent
93cafcd821
commit
ba782f8b78
1 changed files with 20 additions and 0 deletions
20
pages.zh/common/jar.md
Normal file
20
pages.zh/common/jar.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# jar
|
||||
|
||||
> Java 应用程序 / 类库打包程序。
|
||||
> 更多信息见:<https://docs.oracle.com/javase/tutorial/deployment/jar/basicsindex.html>.
|
||||
|
||||
- 将当前目录中的所有文件递归归档到 `.jar` 文件中:
|
||||
|
||||
`jar cf {{file.jar}} *`
|
||||
|
||||
- 将 `.jar` / `.war` 文件解压缩到当前目录:
|
||||
|
||||
`jar -xvf {{file.jar}}`
|
||||
|
||||
- 列出 `.jar` / `.war` 文件内容:
|
||||
|
||||
`jar tf {{path/to/file.jar}}`
|
||||
|
||||
- 列出带有详细输出的 `.jar` / `.war` 文件内容:
|
||||
|
||||
`jar tvf {{path/to/file.jar}}`
|
Loading…
Add table
Reference in a new issue