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:
12
pages/linux/nm-online.md
Normal file
12
pages/linux/nm-online.md
Normal 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}}`
|
Reference in New Issue
Block a user