ack homepage: http://betterthangrep.com/
This is a super useful tool for searching through all of your source code. It searches recursively by default, ignores revision control directories, and aggregates/presents the search results in a very readable format. Makes software development just that much easier.
Here’s a quick example:
$ ack -C 5 –java “ProductVersioner” /usr/local/src/apache-oodt/asf-latest/trunk
“search for all code written in Java recursively under the specified directory and provide 5 lines of context… all the while ignoring all .svn, .cvs, and other irrelevant directories”