Linux network connections – ss command

ss command

The newer ss command will be superseding netstat command.

Below are some of the basic examples,

# Listing all ports to remote IP
ss -nt dst 192.168.14.220

# Listing all remote IPs for port
ss -nt dst :8091

# using a list
ss -nt '( dst :8091 or dst :18091 )'

References

  1. 10 examples of Linux ss command to monitor network connections – BinaryTides
  2. 12 ss Command Examples to Monitor Network Connections (tecmint.com)

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *