Date: Mon, 30 Jul 2001 11:30:17 -0400 From: "Brent Bailey" <misterb@cybertours.com> To: "Peter Brezny" <peter@sysadmin-inc.com>, <freebsd-questions@FreeBSD.ORG> Subject: Re: can find search for text inside files? Message-ID: <011a01c1190c$8a088280$0600a8c0@sacoriver.net> References: <NFBBKAEAALGGGFKINBLAIEPOCBAA.peter@sysadmin-inc.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <peter@sysadmin-inc.com> To: <freebsd-questions@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?011a01c1190c$8a088280$0600a8c0>