sed 应用示例 给1.1.1.1后面增加2.2.2.2: sed -i 's/Server=1.1.1.1/&,2.2.2.2/g' zabbix_agentd.conf 转载于:https://www.cnblogs.com/tangshengwei/p/5580428.html