mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-11 16:50:19 +01:00
That way it is not displayed by default:
$ nmcli general status
But can be explicitly requested:
$ nmcli -t -f running,version general status
$ nmcli -f all general status
E.g. Fedora initscripts do this in
/etc/sysconfig/network-scripts/network-functions
is_nm_running ()
{
[ "$(LANG=C nmcli -t --fields running nm status 2>/dev/null)" = "running" ]
}
|
||
|---|---|---|
| .. | ||
| common.c | ||
| common.h | ||
| connections.c | ||
| connections.h | ||
| devices.c | ||
| devices.h | ||
| Makefile.am | ||
| network-manager.c | ||
| network-manager.h | ||
| nmcli.c | ||
| nmcli.h | ||
| settings.c | ||
| settings.h | ||
| utils.c | ||
| utils.h | ||