Scan Wi-Fi networks with nmcli
Trigger a fresh wireless scan and list SSIDs with signal strength and security, no GUI needed.
01Command
$ nmcli device wifi rescan && nmcli device wifi list02What it does
NetworkManager caches scan results, so the list can lag reality by minutes; device wifi rescan forces a new probe and device wifi list prints the table — SSID, BSSID, mode, channel, rate, signal bars and security type. The output is what you would see in a desktop applet, and the same connection can then be made with nmcli device wifi connect SSID password.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- nmcli(1) — Debian bookwormEvidence: Documents 'nmcli device wifi [list]' and 'nmcli device wifi rescan' with the SSID/BARS/SIGNAL fields shown by the list output.
- nmcli(1) - Ubuntu manpageEvidence: Same commands: device wifi rescan triggers a new scan and device wifi list prints available APs with signal strength.
Last verified: 2026-09-19 · Category: Network
06Related solutions
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.
The classic forgotten-syntax command: `traceroute` shows every router between you and a destination plus the round-trip time of probes to each hop.
Add a UFW rule to permit inbound traffic on a TCP or UDP port, such as SSH on port 22.