iproute2 (and netstat)

Introduction

Introduction

not sure how to use netstat or ss. | grep 8080 isn’t working for either when i have node server listening on 8080

information on network hardware on computer

replaces part of ifconfig

ip addr

information on connections, including local IP on network (eg 192.168.0.x)

ip -c addr (makes it easier to see colour)

replaces part of ifconfig

ip route

can show ip of router (default via...)

replaces route

ss (socket statistics)

Old: netstat

netstat replace with ss, ip route

netstat –inet -ap netstat -puna? + to see what processes using internet?

can see which programs using netstat netstat –program