Forrest logo
back to the ss tool

ss:tldr:d89a2

ss: Show all TCP sockets connected to the local HTTPS port (443).
$ ss -t src :${443}
try on your machine

The command ss -t src :${443} is used to display TCP sockets based on the source port number.

Here is the breakdown:

  • ss: This is the command to invoke the socket statistics tool (ss). It is used to display detailed information about network sockets on a Linux system.

  • -t: This is an option flag used with the ss command to specifically filter TCP sockets. It limits the output to only display TCP sockets.

  • src: This is a filter used with ss to display sockets based on the source port number.

  • :${443}: This is the value specified for the source port filter. The : symbol is used to indicate that the subsequent value is a port number, and 443 is the port number being filtered.

So, when you run this command, it will show you all the TCP sockets on your system with the source port number 443.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the ss tool