for j in *.jar; do echo $j:; jar -tvf "$j" | grep -Hsi ClassName; done
- Iterate over every jar in your folder.
- Output every JAR Name (to match found classes to JARs lateron)
- List Content of every JAR ( jar -tvf “$j” )
- Grep for that specific ClassName grep -Hsi ClassName