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

Re: [cobalt-users] Ordinary linux question



Hi!

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

Got another proposal:

fgrep!

try "man fgrep" - an example would be:

fgrep -r sbin *

Then it searches all files in the present and subdir's for "sbin", if I'm right with the syntax. Maybe shuffle with some arg's...

Regards, Frank