Bootstrap FreeKB - Network Manager (nmcli) - Show Devices using the nmcli connection show command
Network Manager (nmcli) - Show Devices using the nmcli connection show command

Updated:   |  Network Manager (nmcli) articles

The nmcli connection command can be used to list your network interfaces. Something like this should be returned. Often, this will produce the same exact output as the nmcli connection show command.

~]# nmcli connection
NAME  UUID                                  TYPE      DEVICE 
eth0  5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03  ethernet  eth0

 

The nmcli connection show command will display basic information about your network interface connection.

~]# nmcli connection show
NAME  UUID                                  TYPE      DEVICE 
eth0  5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03  ethernet  eth0

 

The --active flag can be used to only display active connections.

~]# nmcli connection show --active
NAME  UUID                                  TYPE      DEVICE 
eth0  5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03  ethernet  eth0

 

Specifying a connection will show the settings for the connection.

~]# nmcli connection show ens192
connection.id:                          ens192
connection.uuid:                        08e06b69-1e5c-39f0-b9db-9f4c3c9c7903
connection.stable-id:                   --
connection.type:                        802-3-ethernet
connection.interface-name:              ens192
connection.autoconnect:                 yes
connection.autoconnect-priority:        -999
connection.autoconnect-retries:         -1 (default)
connection.multi-connect:               0 (default)
connection.auth-retries:                -1

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter a786a0 in the box below so that we can be sure you are a human.