[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Ordinary linux question
- Subject: Re: [cobalt-users] Ordinary linux question
- From: Anders <andersb@xxxxxxxxxxx>
- Date: Fri Oct 3 05:53:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Bob Lenaerts wrote:
> I know a word in a file, but don't know the filename.
> EX: i need to find sbin WITHIN a html file.
>
> How ?
> Find /home/sites -name sbin does not work
You need to use two commands: (one line though)
find /home/sites -name '*.html' | xargs grep sbin
--anders