The FIND command will find files that are named whatever you put in. Ex.
'find /home -name bubba.txt' will search all subdirs of /home and report all
the places it finds a file called bubba.txt.
it sounds like you want to use the RGREP command. The difference between
grep and rgrep is that rgrep will recurse into subdirs where grep won't.
So, an example of what you're looking for would be:
rgrep -i sometext *.txt
This starts at the current directory you're in and looks at all .txt files
in all the subdirs for the phrase 'sometext'. The -i switch ignores case,
which comes in handy from time to time.
HTH.
Wayne
-----Original Message-----
From: J A Shamsi [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 30, 2000 8:14 AM
To: [EMAIL PROTECTED]
Subject: [expert] help
Hello
I would like to search for a "specific text"
on my machine.
I would like to know all the FILENAMES and PATHS
which contains a SPECIFIC TEXT.
I know i have to playwith FIND or GREP
but if any one of you have any idea please let me
know
thanks
j/s
__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/