Networking
-
ping
- ICMP tool to test connectivity- ex:
ping -c 3 example.com
- ex:
-
ip addr
- display address, routing, devices, tunnels- ex:
ip a show en0
- ex:
-
ss
- socket status, displays network connections- ex:
ss -uplant
- shows “the works”
- ex:
ss -lnt
- listening tcp
- ex:
-
/etc/hosts
- hosts config (local "dns") /etc/resolv.conf
- nameserver configuration