Linux has removed a bunch of useful commands.

Where is netstat?

It’s now ss. Goot luck. I still don’t know how to do -pan.

ss -l4n

This gives more than I usually want, but it seems to give me more open ports than the above command.

-l gives the listening ports.

sudo ss -tulpn

View the current connections

sudo ss -tpn

ifconfig is broken?

No, they just don’t install it. Use ip instead. Good luck.

ip addr