Created
February 3, 2015 09:37
-
-
Save antonmry/b07fcf2e5339ad38a463 to your computer and use it in GitHub Desktop.
Replace a string recursively
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -ilr '10.0.2.15' * | xargs -i@ sed -i 's/10.0.2.15/ocsg/g' @ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment