LinuxCommandLibrary

nmcli-general

Manage general settings of NetworkManager.

TLDR

Show the general status of NetworkManager

$ nmcli general
copy


Show the hostname of the current device
$ nmcli general hostname
copy


Change the hostname of the current device
$ sudo nmcli general hostname [new_hostname]
copy


Show the permissions of NetworkManager
$ nmcli general permissions
copy


Show the current logging level and domains
$ nmcli general logging
copy


Set the logging level and/or domains (see man NetworkManager.conf for all available domains)
$ nmcli general logging level [INFO|OFF|ERR|WARN|DEBUG|TRACE] domain [domain_1,domain_2,...]
copy

Copied to clipboard