recursive grep exclude exclude directory code example Example: grep all files recursively grep -r "texthere" .