Skip to content

Instantly share code, notes, and snippets.

@Jeetah
Created May 8, 2024 08:26
Show Gist options
  • Save Jeetah/4d1fe6b924c1b04e4c69131f0e927869 to your computer and use it in GitHub Desktop.
Save Jeetah/4d1fe6b924c1b04e4c69131f0e927869 to your computer and use it in GitHub Desktop.
Find string inside JAR files
for i in *.jar; do jar -tvf "$i" | grep -Hsi "SearchClass" && echo "$i"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment