Find all files ending with ".sh" in the current directory and its subdirectories, and execute the command "sed -i -e 's/^/echo "/' {}" in each directory for each file found.
find ~ -name "*.sh" -execdir sed -i -e 's/^/echo "/' {} \;