Find all files in the current directory and its subdirectories with the extension ".sh", sort them in a unique way, and then add executable permissions to them.
find ./ -name '*.sh' | sort -u | xargs chmod +x