Find all files in the home directory with a ".sh" extension and execute a sed command to replace "SOMETHING" with "SOMETHINGELSE" in each of those files.
find $HOME -name "*.sh" -exec sed -i 's/SOMETHING/SOMETHINGELSE/' {} \;