![Forrest logo](/images/logo.png)
nmcli-connection:tldr:7bb58
The "nmcli connection" command is used to manage network connections on Linux systems using NetworkManager, which is a software component responsible for managing network connections.
When you run the "nmcli connection" command, it displays a list of all the network connections configured on your system. This includes both wired and wireless connections.
Each connection has a unique name and can be managed using various options and subcommands of the "nmcli connection" command. Some common subcommands include:
- "add": Allows you to add a new network connection.
- "modify": Lets you modify the properties of an existing connection.
- "delete": Deletes a network connection.
- "show": Displays detailed information about a specific connection.
- "up": Brings up a specific network connection if it is currently down.
- "down": Disconnects a currently active network connection.
It's worth noting that this command usually requires administrative privileges (root access) to run certain operations, such as adding or deleting connections.
Overall, "nmcli connection" is a versatile command for managing network connections through the command-line interface in Linux systems. It provides a convenient way to configure, modify, and control network connections without the need for a graphical user interface.