mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-29 12:55:29 +02:00
20 lines
568 B
Markdown
20 lines
568 B
Markdown
# nmcli networking
|
|
|
|
> Manage the networking status of NetworkManager.
|
|
> More information: <https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nmcli.html>.
|
|
|
|
- Show the networking status of NetworkManager:
|
|
|
|
`nmcli {{[n|networking]}}`
|
|
|
|
- Enable or disable networking and all interfaces managed by NetworkManager:
|
|
|
|
`nmcli {{[n|networking]}} {{on|off}}`
|
|
|
|
- Show the last known connectivity state:
|
|
|
|
`nmcli {{[n|networking]}} {{[c|connectivity]}}`
|
|
|
|
- Show the current connectivity state:
|
|
|
|
`nmcli {{[n|networking]}} {{[c|connectivity]}} {{[c|check]}}`
|