On 2010.05.17 22:17, Randal L. Schwartz wrote:
>>>>>> "Steve" == Steve Bertrand <st...@ipv6canada.com> writes:
> 
> Steve> What command string do I use to search a directory structure for a 
> file,
> Steve> when my search pattern only matches content and not filename?
> 
> grep -r 'pattern here' top-level-dir-here

Something I do all the time, but couldn't think of it when I needed it most.

Much respect for your first response on a FBSD list.

Cheers ;)

Steve
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to