Find all files in the current directory and its subdirectories, and replace all occurrences of the word "orange" with the word "green" in each file.
find ~ -type f -exec sed -i 's/orange/green/g' '{}' \;