Misc networking status commands: Difference between revisions

From Andreida
(Created page with "To show a list of all current connections to the outside: netstat -tup To show the list again and again netstat -tupc Add the ones which currently only listen netstat ...")
 
No edit summary
 
Line 1: Line 1:
Debian switched from netstat to ss. Both seem to share a lot of parameters.

To show a list of all current connections to the outside:
To show a list of all current connections to the outside:
ss -tup
netstat -tup
netstat -tup


Line 7: Line 10:
Add the ones which currently only listen
Add the ones which currently only listen
netstat -tupl
netstat -tupl
ss -tupl

Latest revision as of 02:08, 9 May 2024

Debian switched from netstat to ss. Both seem to share a lot of parameters.

To show a list of all current connections to the outside:

 ss -tup
 netstat -tup

To show the list again and again

 netstat -tupc

Add the ones which currently only listen

 netstat -tupl
 ss -tupl