terminal jar command code example Example 1: extract file from jar unzip youFile.jar "*.java" Example 2: extract file from jar unzip youFile.jar "*.java"