Last active
August 29, 2015 14:02
-
-
Save glpunk/10eeb982c2b0f5c1949a to your computer and use it in GitHub Desktop.
Linux
This file contains hidden or 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
#find string inside files | |
grep -rnw 'directory' -e "pattern" | |
#replaces string inside files, recursive | |
cd /home/www | |
find . -type f -print0 | xargs -0 sed -i 's/split(/explode(/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment