#network
161 solutions
Check whether your Mac can reach a website and how fast, with a five-packet ping instead of an endless stream.
Get the internet-facing IP your router uses, right in the terminal.
Measure ping, download and upload speed without opening a browser.
Send a quick HTTP request from the terminal to check whether a site responds and what status it returns.
networksetup -setairportpower switches the Wi-Fi hardware on or off, the same toggle the Wi-Fi menu performs.
Serve a directory as a download page that other devices can open in a browser.
Send a fixed number of ICMP echo requests and read the RTT min/avg/max summary and packet loss.
Use networksetup -setairportnetwork to connect your Mac to a Wi-Fi network by name and password without touching the Wi-Fi menu.
Purge cached DNS lookups so Windows re-resolves hostnames from scratch — the fix for 'the new server is live but my browser still hits the old one'.
One command that prints every interface with its state and IPv4/IPv6 addresses in a short table — the modern, memorable replacement for digging through `ifconfig` or the verbose `ip addr` output.
Windows has shipped a full OpenSSH client since 1809 — no PuTTY needed for everyday SSH.
Show every adapter's IP, subnet, gateway, DHCP and DNS servers in one command.