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

[cobalt-developers] Re: Shell command



> Is their command to search for text within a file? I'm trying to find all
> index.html files (in /home/sites/) containing the text my_logo.jpg.

grep

> i.e. locate index.html | [command to find my_logo.jpg]

locate index.html | grep "my_logo.jpg"