Skip to main content
Kill -9 Club
Sign in

ss

NetworkPackage: iproute2

The open sockets: who listens on which port, which connections are established, and with -p which process. ss -tlnp is the command that answers "is something already listening on 80?"

What its options do in the lessons

From the same glossary the lessons render under their commands, so the two cannot disagree.

ss -t
TCP sockets.
ss -l
Only listening sockets — what is accepting connections.
ss -n
Prints port numbers without translating them into service names, so no DNS lookups.
ss -p
Shows which process owns each socket (needs root).

Lessons that teach it

ss — command reference | Kill -9 Club