Find: UNIX regexp search down a directory tree

How to make a regexp search with find recursively . If you want to search only in php files, replace file_pattern with “*.php”

 bash | 
 
 copy code |
?

1
find . -iname  -exec grep -n  {} \; -print