Last Updated: February 25, 2016
·
596
· dawehner

Grep in a limited set of files

find . -name "filename.sh" -print0 | xargs -0 grep "searchtext" {} -rn && echo {}

There is probably an easier way but it works.