From owner-freebsd-questions@FreeBSD.ORG Fri Apr 7 13:26:15 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB3A016A400 for ; Fri, 7 Apr 2006 13:26:15 +0000 (UTC) (envelope-from exploit_it@hotmail.com) Received: from hotmail.com (bay112-f24.bay112.hotmail.com [64.4.26.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2E7643D45 for ; Fri, 7 Apr 2006 13:26:15 +0000 (GMT) (envelope-from exploit_it@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 7 Apr 2006 06:26:15 -0700 Message-ID: Received: from 64.4.26.200 by by112fd.bay112.hotmail.msn.com with HTTP; Fri, 07 Apr 2006 13:26:12 GMT X-Originating-IP: [59.35.212.193] X-Originating-Email: [exploit_it@hotmail.com] X-Sender: exploit_it@hotmail.com In-Reply-To: From: "Mc Shch" To: usleepless@gmail.com Date: Fri, 07 Apr 2006 21:26:12 +0800 X-OriginalArrivalTime: 07 Apr 2006 13:26:15.0460 (UTC) FILETIME=[D896A640:01C65A46] X-Mailman-Approved-At: Fri, 07 Apr 2006 13:57:21 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312"; format="flowed" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: How to use shell commands to work for my requests? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2006 13:26:15 -0000 ______________________________________________________________ From: usleepless@gmail.com To: "Mc Shch" CC: freebsd-questions@freebsd.org Subject: Re: How to use shell commands to work for my requests? Date: Fri, 7 Apr 2006 15:17:46 +0200 >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 Thx,usleep,,,I get the right answer from you! regards. -Exploit_it _________________________________________________________________ Ãâ·ÑÏÂÔØ [1]MSN Explorer References 1. http://g.msn.com/8HMBCNCN/2740??PS=47575