Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2001 07:36:12 -0700
From:      "Chip McClure" <vhm3@hades.dnsalias.net>
To:        "Peter Brezny" <peter@sysadmin-inc.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: can find search for text inside files?
Message-ID:  <BBECIJOPOCKPJNAJBGAMGEBICAAA.vhm3@hades.dnsalias.net>
In-Reply-To: <NFBBKAEAALGGGFKINBLAIEPOCBAA.peter@sysadmin-inc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'd do a grep instead of a find.

grep "your string of text" *

- ----
Chip McClure
Sr. Unix Administrator
GigGuardian, Inc
 
http://www.gigguardian.com/
- ----


- -----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG
[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Peter Brezny
Sent: Monday, July 30, 2001 7:29 AM
To: freebsd-questions@FreeBSD.ORG
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

-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.8

iQA/AwUBO2Vwo4xq/3tb9j7EEQINewCfcAjZiJCb+hjt7k3E66XiBb6+zzUAoLxa
qZXEzl1MgKhbd3OwYuI1R3N9
=k+IV
-----END PGP SIGNATURE-----


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?BBECIJOPOCKPJNAJBGAMGEBICAAA.vhm3>