find and replace linux command 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'