linux grep find files containing text but only in file type code example Example: grep only in php files grep -r -i --include=\*.php 'searchterm' ./