find and replace a bun cof an instance

This commit is contained in:
Paul Trowbridge 2018-09-17 09:40:49 -04:00
parent 2f1585a5de
commit 0e858b05e7

2
grep_sed.md Normal file
View File

@ -0,0 +1,2 @@
find and replace a word in an entire directory
`grep -rl target_word ./ | xargs sed -i 's/target_word/replace_word/g'`