From bab953281a9a66ae62b9c7fdea6e8529cd6835e8 Mon Sep 17 00:00:00 2001 From: Eran Harel Date: Thu, 6 Sep 2018 14:51:52 +0300 Subject: [PATCH] jar: add jar listing options examples (#2299) --- pages/common/jar.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pages/common/jar.md b/pages/common/jar.md index a0066ab8f..5bc83a8e8 100644 --- a/pages/common/jar.md +++ b/pages/common/jar.md @@ -4,4 +4,12 @@ - Unzip .jar/.war file to the current directory: -`jar -xvf *.jar` +`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}}`