(Answer) (Category) SCO UnixWare 7/OpenUNIX 8/OpenServer 6 FAQ : (Category) Useful Shell Commands :
How do I search in every file for a string like "See foo?"
To find the string "See foo" in every local file, one can do a 'find' and 'fgrep' utilizing 'xargs' to run a group of fgreps at once which is more efficient than running one fgrep at a time:
     find / -type f -mount | xargs fgrep -l "See foo" 

<mschalit@pacbell.net>
gerberb@zenez.com

[Append to This Answer]
Next: (Answer) How do I find the largest files and directories?
This document is: http://www.zenez.com/cgi-bin/ou8faq/faq?file=203
[Search] [Appearance]
This is a Faq-O-Matic 2.721.