find in conjuction with grep

Erich S. Morisse emorisse at redhat.com
Wed Aug 11 18:56:39 UTC 2004


On Wed, 2004-08-11 at 14:49, Kevin Old wrote:
[snip] 
> 
> I was unclear.  I'd like to recursively search directories in order to
> find "phrase I want" inside files, not as the file name.
> 
> Thanks,
> Kevin

Kevin,

Try:

grep -r "phrase" .

Erich

-- 
Erich Morisse, RHCE			Red Hat, Inc.
Enterprise Sales Engineer		212.372.8841
emorisse at redhat.com			http://www.redhat.com





More information about the fedora-list mailing list