I know about the update-rc.d SERVICE OPTIONS
command to add and remove services from startup, but how do I use it to get a list of all the services that are currently configured to start at startup?
Is there some other way to get this list?
I know about the update-rc.d SERVICE OPTIONS
command to add and remove services from startup, but how do I use it to get a list of all the services that are currently configured to start at startup?
Is there some other way to get this list?
service --status-all
did it, though I still have to find a legend to determine exactly what those symbols mean. – Lance Roberts Aug 20 '11 at 01:02--status-all
, see this AU question: http://askubuntu.com/questions/55992/running-services – enzotib Aug 20 '11 at 10:47
– kert Mar 21 '15 at 20:47initctl list | egrep -v " stop/waiting|^tty" ; service --status-all 2>&1 | egrep -v "\[ (\?|\-) \]"
+
= running,-
= stopped service.?
= managed by upstart (runinitctl list
to get the status of these) – dave1010 Apr 28 '15 at 09:36service --status-all > myfile.txt 2&>1
writes a few lines to the file, and leaves the rest as output on the terminal. I can't grep the output either. – Tyler Collier Jun 18 '15 at 13:54systemd
? – Aaron Franke Apr 29 '19 at 05:21