Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
triplenineteen
· 10y ago · 0 comments
It seems like they are using a non-standard netstat switch:
$ netstat -ep4ln --udp
Is that '4' a typo or something?
Comments
[–]
dice
10y ago
It's present in my netstat, from `net-tools 2.10-alpha`. Man page says it's shorthand for `--protocol=inet` (as opposed to `inet6`) which shows only IPv4 sockets.
[–]
Negitivefrags
10y ago
It means only list ipv4 sockets. It's pretty standard across many command line network tools.