grep all files ending in code example Example: grep only in php files grep -r -i --include=\*.php 'searchterm' ./