If I run the command "service --status-all", each (running?) service is listed in column format. The first column has either a [ ? ], [ + ], or [ - ] before the service name. What does this column represent? What does ?, +, and - mean?
Sorry if this is a simple question. I searched online for ~30 minutes before just coming here and asking.
I even found this: What do the symbols in service --status-all mean? where the "correct" answer states "It draws a [ + ] or [ - ] depending on whether the exit status was zero or nonzero, respectively.".
So, I guess my new question is what does status zero and nonzero(!?!?!) mean?
sudo service --status-all 2>&1 | grep sshoutputs[ - ] ssheven when I run this command from SSH? Or whysudo service --status-all 2>&1 | grep lightdmoutputs[ ? ] lightdmwhensudo service lightdm statusworks like a charm? – Radu Rădeanu Mar 20 '14 at 18:18/etc/init.dissue. On my serially upgraded computer,/etc/init.d/ssh status; echo $?shows non-zero (bad, not running) andinitctl listdoesn't show SSH. On my 14.04 boxinitctrldoes show SSH butservicestill can't read the status. Also remember thatinitctrlworks for Upstart andserviceis part ofsysvinit-utils. It's not the clearest of pictures but I think that might go some way to explain some of the quirks. I'm sure the move to systemd will clear everything up D: – Oli Mar 20 '14 at 23:19