if you want to serch files under /www which
includes
"any text"
you can write
find /www -name -exec grep -l "any text" {} \;
--- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I'm trying to find a word in a file using find.
> I take a look at the man of find but...
> All i see is to find files, perms, etc.
> It's possible to find an word in a text file?
> All i can do is this:
> $find . -name *.c -print
>
> Many thanks.
>
>
> --
> To UNSUBSCRIBE, email to
> [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]