NetworkManager/cli
Jiří Klimeš a453563bee cli: remove RUNNING field from default 'common' fields
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" ]
}
2013-05-10 12:28:01 +02:00
..
completion cli: update bash-completion file for 'connection add' 2013-05-07 19:41:37 +02:00
src cli: remove RUNNING field from default 'common' fields 2013-05-10 12:28:01 +02:00
Makefile.am Add bash-completion file for nmcli 2013-02-19 21:20:59 +01:00