Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'finding stuff' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
finding stuff
Authored by: Anonymous on May 30, '01 09:52:03PM

Ironically either sherlock (ick) or find will do. Bad side is find varies enough
from its linux brethren to be annoying.
Normally the command would be find / (or a .) | grep "760"
In english'ish this means: find from the root directory (or this directory via the . ) pipe output
to grep and tell it to look for the name 760.

To find strings/text inside a file, heh, the command is strings. I have not played with it
in X to get the hang of it, yet. You can tell strings to search a file, file type or everything
(i.e. * or *.* ).

Sherlock might be able to do this, but does it look inside bundles? dunno.
Have not been able to point it at a directory of my choosing (saves time).

Anyone with more knowledge than I, a humble webmaster/platform hopper?

Moose



[ Reply to This | # ]
finding stuff
Authored by: patster on Jun 01, '01 05:19:44AM

Will this work in OS X?

find / -print | xargs grep 760

It works in most unixs I've used but I'm not in front of my MAC so I can't test it.

Regards

Pat



[ Reply to This | # ]