mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-20 05:50:31 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,21 +6,20 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# nmcli networking
|
||||
|
||||
> Manage the networking status of NetworkManager.
|
||||
> This subcommand can also be called with `nmcli n`.
|
||||
> More information: <https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nmcli.html>.
|
||||
|
||||
- Show the networking status of NetworkManager:
|
||||
|
||||
`nmcli networking`
|
||||
`nmcli {{[n|networking]}}`
|
||||
|
||||
- Enable or disable networking and all interfaces managed by NetworkManager:
|
||||
|
||||
`nmcli networking {{on|off}}`
|
||||
`nmcli {{[n|networking]}} {{on|off}}`
|
||||
|
||||
- Show the last known connectivity state:
|
||||
|
||||
`nmcli networking connectivity`
|
||||
`nmcli {{[n|networking]}} {{[c|connectivity]}}`
|
||||
|
||||
- Show the current connectivity state:
|
||||
|
||||
`nmcli networking connectivity check`
|
||||
`nmcli {{[n|networking]}} {{[c|connectivity]}} {{[c|check]}}`
|
||||
|
||||
Reference in New Issue
Block a user