Linux network command guides
Trace connectivity problems with DNS lookups, routes, sockets, packet captures, HTTP checks, and commands that show where connectivity breaks.
Curated guides
Network command guides
15 matched guides, best match first. Page 1 of 2.

dig Command in Linux: DNS Lookup Examples
When DNS behavior does not match expectations, dig shows the resolver response, record type, TTL, and status so you can compare caches, authoritative servers, DNSSEC, TCP fallback, and...

arp Command in Linux: View and Manage ARP Cache
Local IPv4 neighbor problems are easier to pin down when you can read the ARP cache, compare legacy arp output with ip neigh, and remove stale mappings without...

traceroute Command in Linux With Examples
Network latency is easier to troubleshoot when you can see where packets stop answering instead of only knowing that a site feels slow. The traceroute command in Linux...

tcpdump Command in Linux: Capture and Filter Packets
Packet captures answer questions that logs and port scans cannot: did the packet leave, did a reply come back, which interface saw it, and what did the protocol...

scp Command in Linux with Examples
File transfers over SSH get confusing when the login works but the source and destination sides are easy to mix up. The scp command in Linux copies files...

nmcli Command in Linux With Examples
Network fixes get risky when interface state, saved profiles, DNS, routes, and Wi-Fi settings are treated as one layer. The nmcli command in Linux gives NetworkManager a terminal...

firewall-cmd Command Examples for Firewalld
The firewall-cmd command is where Firewalld becomes practical: zones decide where traffic policy applies, services and ports decide what a zone allows, and the runtime versus permanent split...

curl command in Linux with Examples
When you need to test an endpoint, download a release asset, or send a quick API request without opening a browser, the curl command in Linux gives you...

ifup Command in Linux with Examples
A network card can appear in ip link and still fail when an old runbook says to use ifup eth0. The ifup command in Linux only works when...

ifconfig Command in Linux with Examples
Legacy network notes still tell admins to run the ifconfig command in Linux, especially on older servers, embedded images, and scripts written before iproute2 became standard. ifconfig reads...

wget Command in Linux with Examples
Large downloads, flaky SSH sessions, and offline documentation mirrors are where the wget command earns its keep. It retrieves files over HTTP, HTTPS, FTP, and FTPS without a...

ssh Command in Linux with Examples
Remote administration depends on SSH because login sessions, one-off commands, and encrypted tunnels all travel through the same client without exposing plaintext credentials. The ssh command in Linux...