find and replace a bun cof an instance
This commit is contained in:
parent
2f1585a5de
commit
0e858b05e7
2
grep_sed.md
Normal file
2
grep_sed.md
Normal 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'`
|
Loading…
Reference in New Issue
Block a user