Find all files ending with ".sh" in the current directory, print the first field of each line, and then execute the command "chmod +x" on each of the files.
find ~ -name "*.sh" | awk '{print $1}' | xargs chmod +x