find /etc -type f -exec grep -l /home {} \;
Since you're searching for something that is possibly referring to a home
directory, be aware that the syntax ~/ refers to "the home directory of the
current user."
Mark Post
-----Original Message-----
From: Chet Norris [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 10:58 AM
To: [EMAIL PROTECTED]
Subject: HOWTO : Search
Can I search for an occurrance of a string within files, within a
directory? I'm looking for a reference to "/home" in a config file or
script somewhere.
=====
Chet Norris
Marriott International,Inc.
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com