nmtui - Text User Interface for controlling NetworkManager

To open the user interface
$ nmtui

To display a list of available connections, with the option to activate or deactivate 
$ nmtui connect

To set the system hostname
$ nmtui <hostname>

To edit/add/delete a given network
$ nmtui edit name
or
$ nmtui edit id

To connect to a given network
$ nmtui connect name
$ nmtui connect uuid
$ nmtui connect device
$ nmtui connect SSID



regards,
T.Dhanasekar