Originally Posted by manolakis
Does anybody know any command that can search in all text files for a particular string. Imagine that you use a large Java package and you want to search for a particular class in the whole package. The command should be able to look into sub-folders as well. I will be really pleased if anyone could post an example.
If java package means a jar file, grep won't work like that.
You'll need to explode the package, and then grep through that,
as the content of jars is zipped.