# nmcli

# Check status of wifi card

nmcli device status

Might look like this:

└─$ nmcli device status
DEVICE      TYPE      STATE                   CONNECTION 
tailscale0  tun       connected (externally)  tailscale0 
lo          loopback  connected (externally)  lo         
docker0     bridge    connected (externally)  docker0    
wlan0       wifi      disconnected            --         
eth0        ethernet  unmanaged               --      

# Disconnect from an SSID

sudo nmcli device disconnect wlan0