2020年9月28日星期一

check if port is in use on Linux

check if port is in use on Linux 

sudo lsof -i -P -n | grep LISTEN
sudo netstat -tulpn | grep LISTEN
sudo lsof -i:22 ## see a specific port such as 22 ##
sudo nmap -sTU -O IP-address-Here

没有评论: