linux判断httpd端口是否打开

判断端口是否打开

lsof -i:80

判断端口打开了几个

lsof -i:80 | wc -l

posted @ 2018-12-12 14:39  effortsing  阅读(1051)  评论(0编辑  收藏  举报