| IP & Host | Description |
|---|---|
| ipconfig | Windows IP info |
| ifconfig | Linux/macOS IP info |
| hostname | Show system hostname |
| ping 8.8.8.8 | Test connectivity |
| DNS | Description |
|---|---|
| nslookup domain.com | Query DNS records |
| dig domain.com | Detailed DNS lookup |
| host domain.com | Resolve domain to IP |
| systemd-resolve --status | View DNS config (Linux) |
| Routing | Description |
|---|---|
| tracert domain.com | Trace route (Windows) |
| traceroute domain.com | Trace route (Linux/macOS) |
| route print | View routing table (Windows) |
| ip route | View routing table (Linux) |
| Firewall | Description |
|---|---|
| netsh advfirewall show allprofiles | Windows firewall status |
| ufw status | Linux firewall status |
| sudo ufw enable | Enable firewall (Linux) |
| sudo ufw allow 22 | Allow SSH port |