[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: find

   if you want to serch files under /www which
"any text"
you can write

 find /www -name -exec grep -l "any text" {} \;

--- "showroom@worldapart.com" <showroom@worldpart.com>

> 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
> debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org

Yahoo! FareChase: Search multiple travel sites in one click.

Reply to: