Commands Library

Browse, search, copy, and open common network troubleshooting commands.

pingConnectivity

Test connectivity to a device or website.

WindowsmacOSLinux
nslookupDNS

Query DNS records and troubleshoot DNS issues.

WindowsmacOSLinux
ipconfigDHCP

Display IP configuration.

Windows
ifconfigDHCP

Display network interface details.

macOSLinux
tracertRouting

Trace packet path on Windows.

Windows
tracerouteRouting

Trace packet path on macOS and Linux.

macOSLinux
arp -aLayer 2

View the ARP table.

WindowsmacOSLinux
netstatConnections

Display active network connections.

WindowsmacOSLinux
netstat -anConnections

Display all active network connections with numeric addresses.

WindowsmacOSLinux
netstat -rRouting

Display the routing table.

WindowsmacOSLinux
netstat -bConnections

Display the executable responsible for each connection.

Windows
ipconfig /allDHCP

Display detailed information about all network interfaces.

Windows
ipconfig /renewDHCP

Request a new IP address from the DHCP server.

Windows
ipconfig /releaseDHCP

Release the current DHCP IP address.

Windows
ipconfig /flushdnsDNS

Clear the Windows DNS resolver cache.

Windows
ipconfig getifaddr en0DHCP

Show the IP address of a macOS interface.

macOS
ipconfig getpacket en0DHCP

Display macOS DHCP lease information.

macOS
networksetup -listallhardwareportsConnections

List macOS network adapters and device names.

macOS
scutil --dnsDNS

Display macOS DNS configuration.

macOS
sudo dscacheutil -flushcacheDNS

Flush the DNS cache on macOS.

macOS
curl -IConfiguration

Check website response headers.

macOSWindowsLinux