View network interfaces:

ifconfig

View network connections:

netstat -antup
netstat -plantux

View listening ports:

netstat -nap

View routes:

route

View arp table:

arp -a

List of processes listening on ports:

lsof -i