how to define to only include fileextension in grep command code example Example: grep only in php files grep -r -i --include=\*.php 'searchterm' ./