Find a file with an unknown name
Randal L. Schwartz
merlyn at stonehenge.com
Tue May 18 02:17:22 UTC 2010
>>>>> "Steve" == Steve Bertrand <steve at 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
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
More information about the freebsd-questions
mailing list