Quote:
|
Originally Posted by Wolfy
is there any way to recursively search all directories, say public_html and below?
oh, and say I want to search for foobar - do I use the quotes or no?
grep -Ri "foobar" *
|
you first : change the directory to public_html
say : cd /web/sites/yourdomain.com/public_html
then
grep -Ri foobar *
if its a single word you can drop the quotes
*edit* the capital R is recursive .. the lowercase i is case insensitive ..
