Hacker News new | ask | show | jobs
by triplenineteen 3720 days ago
It seems like they are using a non-standard netstat switch:

  $ netstat -ep4ln --udp
Is that '4' a typo or something?
2 comments

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.
It means only list ipv4 sockets. It's pretty standard across many command line network tools.