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