Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month, online, via Jitsi Meet.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Trying to connect to internet in Debian



Randall Rose wrote on 2026-01-16 17:01:

> Of course, if you can recommend a way of finding out which of the thousands 
> of packages that currently are or might later be on my machine could be 
> listening to the network, I would appreciate hearing.  That would be useful 
> information.  I just don't know it.

The tools would be `ss` or `netstat`.

 From `man ss`:

 > ss - another utility to investigate sockets

 > ss is used to dump socket statistics. It allows showing information
 > similar to netstat.  It can display more TCP and state information
 > than other tools.

So, `ss --listen --processes` should show a bunch of info.


I think netstat is considered deprecated but is likely present on your 
systems and can show this stuff too.

`man netstat`:

 > netstat  -  Print  network connections, routing tables, interface
 > statistics, masquerade connections, and multicast memberships

`nestat --listening` looks easier to visually parse than the output of 
`ss` - YMMV.




Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org