notes/grep_sed.md

119 B

find and replace a word in an entire directory grep -rl target_word ./ | xargs sed -i 's/target_word/replace_word/g'