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

RE: [cobalt-users] Ordinary linux question



> 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
> 
> Can someone help me please ?
> 

I don't know if you can grep with a wildcard for directories. You can
search individual sites.

grep sbin /home/sites/site#/web/*.html
Changing the site# for each site.


-- 
C2003 Dan Kriwitsky

Please reply to the list only. Off list replies are not read.