Find all files with the extension ".sh" and for each of them, replace all characters that are not uppercase letters with the number "2" using the "sed" command.
find . -name '*.sh' | xargs -I {} sed -i 's/[^A-Z]/2/g' {}