--- syntax: markdown tags: [tldr, linux] source: https://github.com/tldr-pages/tldr.git --- # nm-online > Ask NetworkManager whether the network is connected. > More information: . - 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}}`