字符替换
2020-07-06 本文已影响0人
M_ENG
sed -i "s/原字符串/新字符串/g" `grep 原字符串 -rl 所在目录`
47.104.216.12 替换成 47.104.195.75
sed -i "s/47.104.216.12/47.104.195.75/g" `grep 47.104.216.12 -rl ./`
sed -i "s/原字符串/新字符串/g" `grep 原字符串 -rl 所在目录`
47.104.216.12 替换成 47.104.195.75
sed -i "s/47.104.216.12/47.104.195.75/g" `grep 47.104.216.12 -rl ./`