Find all files with the extension .txt in the entire file system and execute the command to replace the word "text" with the word "word" in each of those files.
find / -name '*.txt' -exec sed -i 's/text/word/g' {} \;