If your grep supports 
-R, do:grep -R 'string' dir/
If not, then use find:find dir/ -type f -exec grep -H 'string' {} +
Example is better than percept
-R, do:grep -R 'string' dir/
If not, then use find:find dir/ -type f -exec grep -H 'string' {} +
2009 ·Coding Life by TNB
0 Comments:
Post a Comment