connect to a wifi with username and password linux command line code example Example: connect wifi using command line nmcli dev wifi connect <essid> password <key>