![Forrest logo](/images/logo.png)
nmcli-device:tldr:2ef35
nmcli-device: Print the statuses of all network interfaces.
$ nmcli device status
try on your machine
The command nmcli device status
is used to display the status of all the network devices managed by NetworkManager. It provides information about the connectivity state, device type, connection type, and IP addressing details for each network device.
Here is a breakdown of the output columns in the command:
- DEVICE: Lists the name of the network device.
- STATE: Indicates the current state of the network device. Possible states include
connected
,disconnected
,unavailable
,unmanaged
, etc. - CONNECTION: Shows the name of the active connection associated with the device.
- TYPE: Specifies the type of network device. It can be ethernet, wifi, bluetooth, or other devices.
- ACTIVATED: Displays whether the device is activated or not.
- IP4/IP6 ADDRESS: Shows the IPv4 or IPv6 address assigned to the device.
- IP4/IP6 GATEWAY: Displays the IPv4 or IPv6 gateway address configured for the device.
This command is helpful to quickly check the status of all network devices, their connectivity status, and associated connections.
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.