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

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

 

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