bash 替换特殊字符

PID=`netstat -tpln|grep 8002`;PID=${PID#*LISTEN};PID=`echo $PID | sed -s "s/\/java//g"`

 

相关文章: