linux替换目录内的内容

来源:互联网 发布:美工刀片哪个牌子最好 编辑:程序博客网 时间:2024/04/30 10:24

把当前目录下内容是abc的替换成def


sed -i "s/abc/def/g" `grep "abc" -rl ./`

0 0
原创粉丝点击