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