Linux command line search and replace string code example
Example: Linux command line search and replace string
> grep -rl "old string" . | xargs sed -i 's/old string/new string/g'
> grep -rl "old string" . | xargs sed -i 's/old string/new string/g'