Find all files with the extension ".sh" in the current directory and up to 5 levels of subdirectories, and change the permissions to 755 for each of them.
find . -maxdepth 5 -name "*.sh" -type f -exec chmod 755 {} \;