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