linux connect wifi code example Example: connect wifi using command line nmcli dev wifi connect <essid> password <key>