1. find file
find . -name filename
2.find files contains string
find . -name "*.cpp"|xargs grep "somestring"
find . -name "*.cpp" -exec grep "somestring" {} /; -print
1. find file
find . -name filename
2.find files contains string
find . -name "*.cpp"|xargs grep "somestring"
find . -name "*.cpp" -exec grep "somestring" {} /; -print