Forrest logo
back to context overview

jar

List of commands for jar:

  • jar:tldr:07217 jar: Unzip .jar/.war file to the current directory.
    $ jar -xvf ${file-jar}
    try on your machine
    explain this command
  • jar:tldr:0defe jar: Recursively archive all files in the current directory into a .jar file.
    $ jar cf ${file-jar} *
    try on your machine
    explain this command
  • jar:tldr:7812a jar: List a .jar/.war file content.
    $ jar tf ${filename-jar}
    try on your machine
    explain this command
  • jar:tldr:f5e03 jar: List a .jar/.war file content with verbose output.
    $ jar tvf ${filename-jar}
    try on your machine
    explain this command
back to context overview