Print the name of all files with the extension ".sh" in the current directory and its subdirectories, and print the name of the directory they are in.
find . -type f -maxdepth 1 -name '*.sh' -exec dirname {} \; | xargs -I '{}' echo "$(basename {})"