#network

161 solutions

Test Network Connectivity with ping -c
macOSpingnetworkDiagnostics

Check whether your Mac can reach a website and how fast, with a five-packet ping instead of an endless stream.

Low risk ✓ 2026-09-19
Check Your Public IP Address from the Command Line
Windowsnetworknslookupip

Get the internet-facing IP your router uses, right in the terminal.

Low risk ✓ 2026-09-18
Test your internet speed from the terminal
Linuxnetworkspeedtest-clispeed-test

Measure ping, download and upload speed without opening a browser.

Low risk ✓ 2026-09-18
Test if a Website Is Down with curl
macOScurlnetworkDiagnostics

Send a quick HTTP request from the terminal to check whether a site responds and what status it returns.

Low risk ✓ 2026-09-18
Turn Wi-Fi On or Off with networksetup
macOSnetworknetworksetupWi-Fi

networksetup -setairportpower switches the Wi-Fi hardware on or off, the same toggle the Wi-Fi menu performs.

Low risk ✓ 2026-09-18
Share a folder over the network with one command
Linuxnetworkpythonsharing

Serve a directory as a download page that other devices can open in a browser.

Low risk ✓ 2026-09-18
Check Network Latency and Reachability with ping on macOS
macOSpingmacosnetwork

Send a fixed number of ICMP echo requests and read the RTT min/avg/max summary and packet loss.

Low risk ✓ 2026-09-19
Join a Wi-Fi Network from the Terminal
macOSnetworknetworksetupWi-Fi

Use networksetup -setairportnetwork to connect your Mac to a Wi-Fi network by name and password without touching the Wi-Fi menu.

Low risk ✓ 2026-09-18
Flush the DNS resolver cache on Windows
WindowsnetworkDNStroubleshooting

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'.

Medium risk ✓ 2026-09-17
Show IP addresses in a compact table with `ip -br a`
Linuxifconfignetworktroubleshooting

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.

Low risk ✓ 2026-09-17
Use the Built-in Windows OpenSSH Client
Windowssshnetworkcli

Windows has shipped a full OpenSSH client since 1809 — no PuTTY needed for everyday SSH.

Low risk ✓ 2026-09-17
View full network configuration with ipconfig /all
WindowsnetworkDiagnosticsipconfig

Show every adapter's IP, subnet, gateway, DHCP and DNS servers in one command.

Low risk ✓ 2026-09-18