commands
nmcli — Inspect NetworkManager
device status lists devices known to NetworkManager; connection show lists profiles. Other operations modify or activate connections. Use only read-only inspection on an authorized VM. Use a fresh private workspace; live operations are VM-only.
Formal Syntax & Structure
linux syntaxlinux
nmcli [OPTIONS] OBJECT COMMANDParameters & Attributes
| Name | Type | Description |
|---|---|---|
| OBJECT | operand | Device or connection |
| COMMAND | operand | Subcommand |
Return Value
exit status and output
device status lists devices known to NetworkManager; connection show lists profiles. Other operations modify or activate connections. Use only read-only inspection on an authorized VM.
Working Example
Example Snippetlinux
nmcli device status