linux批量修改字符串

grep "要修改的字符串aa.com_" -rl .| xargs sed -i "s/要修改的字符串aa.com_/替换之后的字符串aa.com_/g"
posted @ 2022-05-23 16:52  ppjj  阅读(24)  评论(0编辑  收藏  举报