linux判断httpd端口是否打开

判断端口是否打开

lsof -i:80

判断端口打开了几个

lsof -i:80 | wc -l

猜你喜欢

转载自www.cnblogs.com/effortsing/p/10108247.html