To quickly find any text string within any text file, try this from a terminal window:
grep -l [text to find] [files to look in]For example, grep -l 123abc *.html will list the name of any file in the current directory that ends in .html and contains the string 123abc.
su rootThis will tell the OS to find the "text to find" in every file in every directory, all the way down through the tree. The -r flag tells grep to recursively search directories.
cd /
grep -lr "text to find" *
Mac OS X Hints
http://hints.macworld.com/article.php?story=20001105214242629