How to use shell commands to work for my requests?

usleepless at gmail.com usleepless at gmail.com
Fri Apr 7 13:17:51 UTC 2006


Hi Exploit_it

>    For example:
>    i want to search some files which contain "getopt" string...

what's in a name...

brute force: grep -R getopt *

smarter: find . -name "*.cpp" -exec grep getopt {}\; -print

regards,

usleep


PS this is a resend to fix etiquette


More information about the freebsd-questions mailing list