How do you inspect IP addresses and interfaces?
Use `ip address` and `ip link` to inspect interface addresses and link state.
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 2293–2304 of 3610 questions
Use `ip address` and `ip link` to inspect interface addresses and link state.
The routing table selects the next hop or interface for a destination. `ip route get` shows a route decision.
Private IPv4 ranges are intended for internal networks and are not globally routed on the public internet without translation or routing arrangements.
DNS maps names to records such as IPv4/IPv6 addresses, mail servers, aliases, and verification text.
`dig` shows DNS answers, status flags, resolver information, and timing. Query the record type you need.
`curl` can inspect response headers, status codes, redirects, TLS, and request timing.
TCP provides a reliable ordered byte stream; UDP sends datagrams without built-in delivery or ordering guarantees.
Use `ss` to inspect listening sockets and active connections; process details may require elevated privileges.
Use multiple tests: route lookup, ping when allowed, DNS resolution, and a direct port or application request.
Use `journalctl` to filter logs by service, boot, priority, and time window.
Double-quote expansions to preserve spaces and prevent word splitting and glob expansion. Use single quotes for literal text.
Exported variables are inherited by child processes, often providing application configuration.