At Oracle we do our development on Linux VMs running in one of our Data Centers.   Because of this I have had to get real familiar with various linux/unix commands.   I find this one particularly useful.

find . -name “*.jar” | while read LINE; do grep STRTOFIND “$LINE”;done

For STRTOFIND replace this with a classname and it will print the .jar’s that reference that class.