nm-online: add page; nmtui-{connect,edit,hostname}: add alias pages (#10426)

* nmtui-{connect,edit,hostname}: add alias pages

* nm-online: add page
This commit is contained in:
Lena
2023-08-09 16:02:17 +02:00
committed by GitHub
parent c48bddf76c
commit ec2bfe4a4a
4 changed files with 33 additions and 0 deletions

12
pages/linux/nm-online.md Normal file
View File

@@ -0,0 +1,12 @@
# nm-online
> Ask NetworkManager whether the network is connected.
> More information: <https://networkmanager.dev/docs/api/latest/nm-online.html>.
- Find out whether the network is connected and print the result to `stdout`:
`nm-online`
- Wait `n` seconds for a connection (30 by default):
`nm-online --timeout {{n}}`