diff --git a/grep_sed.md b/grep_sed.md new file mode 100644 index 0000000..19c9e38 --- /dev/null +++ b/grep_sed.md @@ -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'` \ No newline at end of file