欢迎访问我的独立博客
摘要: sed -i "s/oldstring/newstring/g" `grep oldstring -rl yourdir` 例如:替换/home下所有文件中的www.bcak.com.cn为bcak.com.cn sed -i "s/www.bcak.com.cn/bcak.com.cn/g" `g 阅读全文
posted @ 2016-10-09 17:31 github.com/starRTC 阅读(263) 评论(0) 推荐(0) 编辑