ifconfig or ip addr
Shows IP addresses and network interfaces.
ping <IP/hostname>
Tests connectivity.
traceroute <IP/hostname>
Traces the route packets take.
nslookup <domain> or dig <domain></domain></domain>
DNS queries.
netstat or ss
Show network connections and listening ports.
arp -a
Displays ARP table.
hostname
Shows system hostname.