linux see all ports in use 80 code example Example: netstat -tulpn | grep :80 netstat -tulpn | grep :80