标签:
过滤出mysql的监听端口
netstat -lnt|grep 3306|awk -F ‘[ :]+‘ ‘{printf $5}‘
Linux命令之乐--awk
原文地址:http://www.cnblogs.com/zydev/p/5763394.html