Gather network configuration and connectivity information including interfaces, routes, and DNS
Explores network configuration and connectivity on Linux systems.
./scripts/netinfo.sh
ip addr
ip route
cat /etc/resolv.conf
ss -tuln
ip a
ip link
cat /sys/class/net/*/address
ip route get 8.8.8.8
cat /etc/hosts
systemd-resolve --status
ss -tupn
cat /proc/net/tcp
ip -s link
cat /proc/net/dev
ip
ifconfig
netstat
-n