Find all files with the extension .txt and execute the command sed to replace all occurrences of the word ERROR with the word FIXED in each file.
find . -name '*.txt' -exec sed -i 's/ERROR/FIXED/g' \{\} \+