sed 替换文件中指定内容

sed -i 's/'10.10.10.10:8080'/'192.168.1.1:9090'/' my.txt

原文地址:https://www.cnblogs.com/yangxuming/p/12455919.html