Find all files in the current working directory with the extension ".sh" and search for the string "some string" in them, returning the names of the files that contain it.
find $(pwd) -name '*.sh' -exec grep -li 'some string' {} \;