sed 简单修改配置文件ip地址

sed -i 's/old ip/new ip/g' file.txt

 

posted @ 2017-06-05 19:38  忙碌在路上  阅读(890)  评论(0编辑  收藏  举报