recursive grep recursion depth

Shell
find . -type f -maxdepth 2 -exec grep -l 'pattern' {} \;

Source

Also in Shell: