How to use shell commands to work for my requests?

usleepless at gmail.com usleepless at gmail.com
Fri Apr 7 13:16:26 UTC 2006


Hi Exploit_it

what's in a name...

brute force: grep -R getopt *

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

regards,

usleep

On 4/7/06, Mc Shch <exploit_it at hotmail.com> wrote:
>
>    Hi all,
>
>    I wanna know how to use shell commands to search some files which
>    contain a specail strings i want...
>    For example:
>    i want to search some files which contain "getopt" string...
>
>    any ideas?
>
>    -Exploit_it
>      _________________________________________________________________
>
>    使用世界上最大的电子邮件 系统― [1]MSN Hotmail Get 2 months FREE*.
>
> References
>
>    1. http://g.msn.com/8HMBCNCN/2749??PS=47575
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list