批量替换端口 批量将管理端口17001变更成18001,如下脚本: [root@pxc1 ~]# grep -Rl "17001" /weblogic/web11g36|xargs sed -i 's/17001/18001/g'