Check out example codes for "grep xargs sed". It will help you in understanding the concepts better.

Code Example 1

grep -lr --include=config "@rtcamp.com" . | xargs sed -i -e 's/@rtcamp.com/@ac.rtcamp.com/g'

Learn ReactJs, React Native from akashmittal.com