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