1# Any of the following
2sudo lsof -i -P -n | grep LISTEN
3sudo netstat -tulpn | grep LISTEN
4sudo lsof -i:22 # see a specific port such as 22
5sudo nmap -sTU -O IP-address-Here
1sudo netstat -tulpn | grep LISTEN
2
3sudo lsof -i:22 # see a specific port such as 22
1# To check the listening ports and applications on Linux
2# Use any of the following command on terminal
3
4sudo lsof -i -P -n | grep LISTEN
5
6sudo netstat -tulpn | grep LISTEN
7
8sudo lsof -i:80 # see a specific port such as 80
9
10@Oceangreen Technology - We Work For Excellence