Find all files with the extension ".sh" in the current directory and its subdirectories, and add a "#" character to the beginning of each line in those files.
find . -type f -name '*.sh' | xargs sed -i 's/^/#/'