Find all files with the extension .txt in the /var/www/html directory, up to a maximum depth of 1, and execute the command to replace the word "friendly" with "unfriendly" in each file.
find /var/www/html -name *.txt -maxdepth 1 -exec sed -i 's/friendly/unfriendly/g' {} \;