nm-online(1) on Linux
The text 9078d8314f33, as Debian 9 (Stretch) shipped it.
ask NetworkManager whether the network is connected
Flags it lists
-
--exit -
--quiet -
--timeout -
--wait-for-startup -
-q -
-s -
-t -
-x