View Single Post
Posts: 515 | Thanked: 266 times | Joined on Nov 2009 @ Oelsted, Denmark
#16
Search for <phrase> in all files below <path> (Recursive):

Code:
grep -R <phrase> /<path>
I.e. search for files containing the word N900 in the MyDocs folder:
Code:
grep -R N900 /home/user/MyDocs
EDIT - Adding -i would do the same, only incase sensitive.
__________________
Christian Wilken - tux-POWER.dk!
... May the Source be with You ...

Last edited by DrWilken; 2010-08-21 at 18:30.