You don't need to install any special tools - the standard 'find' and 'grep' command line utilities will do that for you e.g.
Code:
find / -name 'index.html' -exec grep -H 'xyzzy' {} + 2>/dev/null
The '2>/dev/null' is not essential, it just stops the output getting buried in lots of permission errors. If you think the file may be somewhere an ordinary user does not have read access you can run it with 'sudo'
Code:
sudo find / -name 'index.html' -exec grep -H 'xyzzy' {} +
You can also make the grep case insensitive (-i) and/or restrict it to complete word matches (-w) - type man grep for more info
Bookmarks