Date: Fri, 7 Apr 2006 15:16:25 +0200 From: usleepless@gmail.com To: "Mc Shch" <exploit_it@hotmail.com> Cc: questions@freebsd.org Subject: Re: How to use shell commands to work for my requests? Message-ID: <c39ec84c0604070616k78ec3df1h176e08c8f7f790aa@mail.gmail.com> In-Reply-To: <BAY112-F51096BB0E463E008D2F59FEC90@phx.gbl> References: <BAY112-F51096BB0E463E008D2F59FEC90@phx.gbl>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c39ec84c0604070616k78ec3df1h176e08c8f7f790aa>
