Forrest logo
back to context overview

ss

List of commands for ss:

  • ss:tldr:0d58e ss: Show all TCP/UDP/RAW/UNIX sockets.
    $ ss -a ${select}
    try on your machine
    explain this command
  • ss:tldr:27c31 ss: Kill IPv4 or IPv6 Socket Connection with destination IP 192.168.1.17 and destination port 8080.
    $ ss --kill dst ${192-168-1-17} dport = ${8080}
    try on your machine
    explain this command
  • ss:tldr:2cb15 ss: Show all TCP sockets listening on the local 8080 port.
    $ ss -lt src :${8080}
    try on your machine
    explain this command
  • ss:tldr:3e084 ss: Show all TCP IPv4 sockets locally connected on the subnet 192.168.0.0/16.
    $ ss -4t src ${192-168-16}
    try on your machine
    explain this command
  • ss:tldr:4a7ae ss: Filter TCP sockets by states, only/exclude.
    $ ss ${state-exclude} ${bucket-big-connected-synchronized----}
    try on your machine
    explain this command
  • ss:tldr:96a00 ss: Show all UDP sockets connected on specific source and destination ports.
    $ ss -u 'sport == :${source_port} and dport == :${destination_port}'
    try on your machine
    explain this command
  • ss:tldr:cfb8f ss: Show all TCP sockets along with processes connected to a remote ssh port.
    $ ss -pt dst :${ssh}
    try on your machine
    explain this command
  • ss:tldr:d89a2 ss: Show all TCP sockets connected to the local HTTPS port (443).
    $ ss -t src :${443}
    try on your machine
    explain this command
back to context overview