ss -tuln

Category: Networking

ss -tuln

List all listening TCP/UDP sockets with ports

Lists all listening ports (where a service is waiting for connections). -t=TCP, -u=UDP, -l=listening, -n=numbers not names.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.