netstat -tlnp

Category: Self-Hosting

netstat -tlnp

Show all listening TCP ports and the processes behind them (older alternative to ss)

Lists listening network ports and associated processes. Older tool, not installed by default on modern Ubuntu — use 'ss' instead if available.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.