154

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?

2 Answers 2

241

See the attached link.

UbuntuBootupHowto

The command is

service --status-all
8
  • 1
    Thanks, the service --status-all did it, though I still have to find a legend to determine exactly what those symbols mean. Aug 20, 2011 at 1:02
  • @Lance: there is a bug in managing option --status-all, see this AU question: askubuntu.com/questions/55992/running-services
    – enzotib
    Aug 20, 2011 at 10:47
  • 1
    I realize this is a little dated, but from my reading of the man page, it sounds as if this lists the current status, not whether they're configured to start? "service --status-all runs all init scripts, in alphabetical order, with the status command. This option only calls status for sysvinit jobs, upstart jobs can be queried in a similar manner with initctl list'."
    – ernie
    Nov 5, 2013 at 22:33
  • 2
    List of pretty much everything relevant that is running initctl list | egrep -v " stop/waiting|^tty" ; service --status-all 2>&1 | egrep -v "\[ (\?|\-) \]"
    – kert
    Mar 21, 2015 at 20:47
  • 23
    + = running, - = stopped service. ? = managed by upstart (run initctl list to get the status of these)
    – dave1010
    Apr 28, 2015 at 9:36
8

You could use BUM.

enter image description here

5
  • This looks nice, but I'm too new with Ubuntu to know how to install this on my virtual server, that I PuTTY into (or if it's even possible). Aug 20, 2011 at 1:04
  • Do you have a graphical environment?
    – desgua
    Aug 20, 2011 at 1:07
  • No, just a terminal session. Aug 20, 2011 at 1:12
  • Well, BUM is a graphical tool, so the command you've mentioned above seems to fit better yours needs.
    – desgua
    Aug 20, 2011 at 1:18
  • You can install this without graphical tools. X apps can run remotely. Yes, even on Windows. You just have to tell each app where to run (e.g. IP address). It's possible, you can Google the specifics.
    – David Betz
    Jan 13, 2016 at 18:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.