712   Linux

在整个目录下,对所有文件的内容进行搜索并替换

sed -i "s/old/new/g" `grep old -rl /data/home`



Leave a Reply

Your email address will not be published. Required fields are marked *