Personal tools
You are here: Home Complex Instructions Linux Tools Listing Open Ports in Linux

Listing Open Ports in Linux

Two command line tools that list open ports in Linux

The following are two command line tools for listing open ports in Linux.  It seems I can never remember them when I need them, so I thought I would wright them down here.

netstat -lptu
lsof -i

Both of these commands require root privileges to run.

Thanks to CyberCiti for the info.

Document Actions