会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
欢迎访问我的独立博客
https://elesos.github.io
免费IM-免费视频通话-免费视频会议-免费互动连麦直播-免费白板--->github.com/starRTC
博客园
首页
新随笔
联系
管理
订阅
2016年10月9日
Linux sed 批量替换多个文件中的字符串
摘要: 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)
编辑
公告