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 <[EMAIL PROTECTED]> 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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to