SyntaxFix
Write A Post
Hire A Developer
Questions
If your grep supports -R, do:
-R
grep -R 'string' dir/
If not, then use find:
find
find dir/ -type f -exec grep -H 'string' {} +