1

Linux cmd to search for a class file among jars irrespective of jar path

view story
linux-howto

http://stackoverflow.com – I want to search for a particular class file among jar files without giving the location of jar file (the reason for not giving the location is - it is possible that a number of jars may exist in different paths and the specific class may be available in any of those jars) First of all, is it even possible? The command i ran was - grep Hello.class *.jar which didn't work. Then i ran the command - grep Hello.class /full/path/of/jar/file/*.jar which worked. (HowTos)