From owner-freebsd-questions Mon Jul 30 8:30:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from transporter.cybertours.com (transporter.cybertours.com [208.130.42.17]) by hub.freebsd.org (Postfix) with ESMTP id 4720A37B403 for ; Mon, 30 Jul 2001 08:30:42 -0700 (PDT) (envelope-from misterb@cybertours.com) Received: from pretorian (skywalker.cybertours.com [208.130.43.221]) by transporter.cybertours.com (8.9.3/8.9.1) with SMTP id LAA21751; Mon, 30 Jul 2001 11:30:37 -0400 (EDT) Message-ID: <011a01c1190c$8a088280$0600a8c0@sacoriver.net> From: "Brent Bailey" To: "Peter Brezny" , References: Subject: Re: can find search for text inside files? Date: Mon, 30 Jul 2001 11:30:17 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG use grep cd to the dirctory ya have the messages or text files in then do $grep text string * the text string would be the text your looking for... the * is to grep everything in that directory your in for the string B ----- Original Message ----- From: Peter Brezny To: Sent: Monday, July 30, 2001 10:29 AM Subject: can find search for text inside files? I need to search a number of e-mail files for specific text. Can find look at each text file in a directory, and search them for a specific string of text? and if so, could someone provide a sample command line for find? I've read through the man page, but... TIA Peter Brezny SysAdmin Services Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message