ping google.comTest connectivity
ping -c 4 google.comPing 4 times then stop
traceroute google.comTrace route to host
mtr google.comMy traceroute (combines ping and traceroute)
curl https://api.example.comMake HTTP request
curl -X POST -d "data" https://api.example.comPOST request
curl -o file.zip https://example.com/file.zipDownload file
curl -I https://example.comHeaders only
wget https://example.com/file.zipDownload file
wget -c https://example.com/file.zipResume download
ifconfigNetwork interfaces (older)
ip addrNetwork interfaces (modern)
ip aShorthand for ip addr
ip routeShow routing table
netstat -tulpnShow listening ports (older)
ss -tulpnShow listening ports (modern)
nslookup example.comDNS lookup
dig example.comDetailed DNS lookup
ssh user@hostnameConnect via SSH
ssh -i key.pem user@hostnameSSH with key
scp file.txt user@host:/path/Copy file over SSH
scp -r folder user@host:/path/Copy folder over SSH
nc -zv host portCheck if port is open (netcat)
telnet host portConnect to a port (old tool)
hostname -IShow local IP