1、在某一行后面追加一行
RD=2000
sed -i '/ssi_types/ a\limit_req zone=lreq burst='$RD';' /opt/bee.location
2、替换字符正则
sed -i "s/owa_server_domain,.*\"http:\/\/.*\"/owa_server_domain,\t\"http:\/\/$OWA_IP\"/g" /opt/erlang_pangu/package/vortex/vtx_idt/etc/app.config
3、替换字符
sed -i "s/{VIDEO_PORT}/$VIDEO_PORT/g" /opt/srv/av_convert/param.properties