nmcli Flashcards
1
Q
nmcli
A
nmcli is a command-line tool for controlling NetworkManager and getting its status.
![](https://s3.amazonaws.com/brainscape-prod/system/cm/313/444/348/a_image_thumb.png?1591538719)
2
Q
nmcli [OPTIONS]
- o[verview] overview mode (hide default values)
- t[erse] terse output
- p[retty] pretty output
- m[ode] tabular|multiline output mode
- c[olors] auto|yes|no whether to use colors in output
- f[ields] <field1>|all|common specify fields to output<br></br> -g[et-values] <field1>|all|common shortcut for -m tabular -t -f</field1></field1>
A
- e[scape] yes|no escape columns separators in values
- a[sk] ask for missing parameters
- s[how-secrets] allow displaying passwords
- w[ait] <seconds> set timeout waiting for finishing operations<br></br> -v[ersion] show program version<br></br> -h[elp] print this help</seconds>
3
Q
nmcli [OBJECT]
g[eneral] NetworkManager’s general status and operations
n[etworking] overall networking control
r[adio] NetworkManager radio switches
A
c[onnection] NetworkManager’s connections
d[evice] devices managed by NetworkManager
a[gent] NetworkManager secret agent or polkit agent
m[onitor] monitor NetworkManager changes