Jan 16, 2018

nmcli , is the console command that makes Network Manager available in a console.

nmcli has the following format: nmcli [OPTIONS] OBJECT { COMMAND | help }.

  • OPTIONS: allows you to view the output in terse -t or pretty -p mode.
  • OBJECT: can be nm (NetworkManager status), con (NetworkManager connections) or dev (devices managed by NetworkManager)
  • COMMAND: is the action on OBJECT
Type nmcli OBJECT help to see a list of the available actions. For example when OBJECT is nm , the COMMAND are:
nmcli nm help
Usage: nmcli nm { COMMAND | help }

 COMMAND := { status | sleep | wakeup | wifi | wwan }

  wifi [on|off]
  wwan [on|off]