diff --git a/pages/linux/nmcli.md b/pages/linux/nmcli.md new file mode 100644 index 0000000000..db771c2fce --- /dev/null +++ b/pages/linux/nmcli.md @@ -0,0 +1,19 @@ +# nmcli + +> A command line tool for controlling NetworkManager. + +- List all NetworkManager connections (shows name, uuid, type and device): + +`nmcli connection` + +- Activate a connection by specifying an uuid: + +`nmcli connection up uuid {{uuid}}` + +- Deactivate a connection: + +`nmcli connection down uuid {{uuid}}` + +- Print statuses of network interfaces: + +`nmcli device status`