Using just grep and sed, how do I replace all occurrences of:
a.example.com
with
b.example.com
within a
Try this command:
/home/user/ directory - find ./ -type f \ -exec sed -i -e 's/a.example.com/b.example.com/g' {} \;