How can I do a recursive find/replace of a string with awk or sed?

How do I find and replace every occurrence of:

subdomainA.example.com

with

subdomainB.example.com

in every text file under the /home/www/ directory tree recursively?

Leave a Comment