Managing Network and nmcli

nmcli device connect enp0s31f6

nmcli device status

nmcli connection show

nmcli con add type ethernet con-name "MyEthernet" ifname enp0s31f6

nmcli connection up MyEthernet

nmcli connection down MyEthernet

other commands

nmcli connection modify "UUID" IPv4.address 192.168.68.X nmcli connection modify "UUID" IPv4.method manual nmcli connection down "UUID" nmcli connection up "UUID"