Find all files four levels deep in the directory tree and execute a search for the string "foo" in each of them, printing out the names of the files that contain it.
find / -path "*/*/*/*" -exec grep -l "foo" {} \;