Forrest logo
back to the nmcli tool

nmcli-networking:tldr:5922f

nmcli-networking: Enable or disable networking and all interfaces managed by NetworkManager.
$ nmcli networking ${select}
try on your machine

The nmcli networking command is used to manage the networking functionality of NetworkManager, a tool for configuring and managing network connections on Linux systems.

The ${select} parameter in the command is a placeholder for specifying an action to perform on the networking state. This parameter can have the following values:

  • on: Enables networking, allowing the establishment of network connections.
  • off: Disables networking, preventing network connections from being established.
  • status: Displays the current status of networking (whether it is on or off).

By using the command with the appropriate ${select} option, you can control the networking state of your system.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the nmcli tool