Monday 20 December 2010

Searching in files

Search for files containing the string "lookfor"

find . -type f -exec grep -i "lookfor" {} \; -print

2 comments: