Skip to content

Netstat

This is very useful command. (It's a must)

Show open ports:

netstat -tulpen

Show established connections:

sudo netstat -tpn
sudo netstat -tpn | grep ssh