I want to search for some file(class) in zips(jars). How to do it from command line?
You can use "unzip -l zip-file-name.zip" to list the contents of the zip file, pipe its output to grep and then use grep to check if the list contains the file you are looking for.
You can find if a class is present in any file from command line with:
In case you want to find regular expression have a look at
This does not show the lines; it just registers if it is present in the files you checked.