Close

Using ss

This show socket (ss) command is another command that you can use instead of the netstat command. Here are some examples:

Announcement

I have released my new course on Udemy, Kubernetes By Example. Sign up now to get free lifetime access!
ss -at

This lists (a)ll (t)cp ports.

ss -alt

This lists (a)ll (l)istening (t)cp ports.