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