To search a directory recursively for a string, use:
1
| find . -exec grep "string to find" '{}' \; -print |
Tags: bash, exec, find, grep, search
This entry was posted on October 02nd, 2008
and is filed under General.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response or Trackback from your own site.