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

RE: [cobalt-users] Ordinary linux question



Would:
locate sbin

work for you?



Mr. Michele Neylon
Blacknight Solutions
http://www.blacknightsolutions.ie/
http://www.search.ie/
Probably the cheapest ie's in Ireland
Tel. +353 (0)59 9139897
Fax. +353 (0)59 9139897 

> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx 
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx] On Behalf Of Anders
> Sent: 03 October 2003 13:50
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: Re: [cobalt-users] Ordinary linux question
> 
> 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
> 
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
> 
> 


#########################################################
This message (and any attachment) is intended only for the 
recipient and may contain confidential and/or privileged 
material.  If you have received this in error, please contact the 
sender and delete this message immediately.  Disclosure, copying 
or other action taken in respect of this email or in 
reliance to it is prohibited.