Files
cheatsheet-tldr/tldr/linux/nmcli-networking
2025-07-20 00:24:01 +00:00

26 lines
660 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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]}}`