Search the entire file system for files with the extension ".sh" and replace all occurrences of "oldString" with "newString" in those files.
find / -name "*.sh" | xargs sed -i 's/oldString/newString/g'