Find the first file in a randomly sorted list of files, then execute a command to replace all occurrences of the word "failure" with the word "success" in that file.
find $(ls -1 | sort -R | head -n1) -type f -exec sed -i 's/failure/success/g' {} \;