How Do I Use Nmcli in Linux?
Contents

How use Nmcli Linux?

nmcli is a command-line tool which is used for controlling NetworkManager. nmcli commnad can also be used to display network device status, create, edit, activate/deactivate, and delete network connections. Typical Uses: Scripts: Instead of manually managing the network connections it utilize NetworkMaager via nmcli.

How do I connect to Nmcli?

The most common are:

  1. type (the connection.type property) nmcli c add type bond.
  2. ifname (the connection.interface-name property) nmcli c add ifname enp1s0.
  3. con-name (the connection.id property) nmcli c add con-name “My Connection”
Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest