List of available services












79















Is there any command that would show all the available services in my wheezy Debian based OS?



I know that in order to see all the running services you can use service --status-all.










share|improve this question























  • stackoverflow.com/questions/18721149/…

    – Amit G
    Apr 4 '16 at 7:09
















79















Is there any command that would show all the available services in my wheezy Debian based OS?



I know that in order to see all the running services you can use service --status-all.










share|improve this question























  • stackoverflow.com/questions/18721149/…

    – Amit G
    Apr 4 '16 at 7:09














79












79








79


12






Is there any command that would show all the available services in my wheezy Debian based OS?



I know that in order to see all the running services you can use service --status-all.










share|improve this question














Is there any command that would show all the available services in my wheezy Debian based OS?



I know that in order to see all the running services you can use service --status-all.







debian services






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 9 '14 at 17:37









Dragos RizescuDragos Rizescu

5941511




5941511













  • stackoverflow.com/questions/18721149/…

    – Amit G
    Apr 4 '16 at 7:09



















  • stackoverflow.com/questions/18721149/…

    – Amit G
    Apr 4 '16 at 7:09

















stackoverflow.com/questions/18721149/…

– Amit G
Apr 4 '16 at 7:09





stackoverflow.com/questions/18721149/…

– Amit G
Apr 4 '16 at 7:09










5 Answers
5






active

oldest

votes


















50














Wheezy uses SysV init, and all the services are controlled with special shell scripts in /etc/init.d, so ls /etc/init.d will list them. These files also contain a description of the service at the top, and the directory contains a README.



Some but not all of them have a .sh suffix, you should leave that off when using, eg., update-rc.d.






share|improve this answer





















  • 1





    After reading your answer, I realized how stupid my question was. It was obvious. Anyway, at least I've learned something. Nevertheless thanks for answering my question.

    – Dragos Rizescu
    Jan 9 '14 at 17:54






  • 6





    @DragosRizescu there isn't stupid questions.

    – Braiam
    Jan 9 '14 at 18:00






  • 2





    @DragosRizescu - valid question, there has been a lot of activity in changing around how services work on the various distros so it can get confusing.

    – slm
    Jan 9 '14 at 18:02











  • I am running systemd on my wheezy system.

    – jordanm
    Jan 9 '14 at 20:21



















61














On Debian jessie try: service --status-all.



It is in the sysvinit-utils package.






share|improve this answer































    11














    service --status-all


    Will list all services with a status code, being stopped or off (-), started or on (+), or unknown (?), which means no status code section in their init.d script. Not just running services.






    share|improve this answer

































      0














      /etc/init.d contains scripts used by the System V init tools (SysVinit).



      List executable:



      ls -F /etc/init.d/ | grep '*$'





      share|improve this answer































        0














        As said with systemd would be



        systemctl --full --type service --all


        From man page:




        -l, --full Do not ellipsize unit names, process tree entries, journal output, or truncate unit descriptions in the output of status, list-units, list-jobs, and list-timers.



        -a, --all When listing units with list-units, also show inactive units and units which are following other units. When showing unit/job/manager properties, show all properties regardless whether they are set or not.







        share|improve this answer























          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f108591%2flist-of-available-services%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          5 Answers
          5






          active

          oldest

          votes








          5 Answers
          5






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          50














          Wheezy uses SysV init, and all the services are controlled with special shell scripts in /etc/init.d, so ls /etc/init.d will list them. These files also contain a description of the service at the top, and the directory contains a README.



          Some but not all of them have a .sh suffix, you should leave that off when using, eg., update-rc.d.






          share|improve this answer





















          • 1





            After reading your answer, I realized how stupid my question was. It was obvious. Anyway, at least I've learned something. Nevertheless thanks for answering my question.

            – Dragos Rizescu
            Jan 9 '14 at 17:54






          • 6





            @DragosRizescu there isn't stupid questions.

            – Braiam
            Jan 9 '14 at 18:00






          • 2





            @DragosRizescu - valid question, there has been a lot of activity in changing around how services work on the various distros so it can get confusing.

            – slm
            Jan 9 '14 at 18:02











          • I am running systemd on my wheezy system.

            – jordanm
            Jan 9 '14 at 20:21
















          50














          Wheezy uses SysV init, and all the services are controlled with special shell scripts in /etc/init.d, so ls /etc/init.d will list them. These files also contain a description of the service at the top, and the directory contains a README.



          Some but not all of them have a .sh suffix, you should leave that off when using, eg., update-rc.d.






          share|improve this answer





















          • 1





            After reading your answer, I realized how stupid my question was. It was obvious. Anyway, at least I've learned something. Nevertheless thanks for answering my question.

            – Dragos Rizescu
            Jan 9 '14 at 17:54






          • 6





            @DragosRizescu there isn't stupid questions.

            – Braiam
            Jan 9 '14 at 18:00






          • 2





            @DragosRizescu - valid question, there has been a lot of activity in changing around how services work on the various distros so it can get confusing.

            – slm
            Jan 9 '14 at 18:02











          • I am running systemd on my wheezy system.

            – jordanm
            Jan 9 '14 at 20:21














          50












          50








          50







          Wheezy uses SysV init, and all the services are controlled with special shell scripts in /etc/init.d, so ls /etc/init.d will list them. These files also contain a description of the service at the top, and the directory contains a README.



          Some but not all of them have a .sh suffix, you should leave that off when using, eg., update-rc.d.






          share|improve this answer















          Wheezy uses SysV init, and all the services are controlled with special shell scripts in /etc/init.d, so ls /etc/init.d will list them. These files also contain a description of the service at the top, and the directory contains a README.



          Some but not all of them have a .sh suffix, you should leave that off when using, eg., update-rc.d.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 9 '14 at 18:02

























          answered Jan 9 '14 at 17:48









          goldilocksgoldilocks

          62.3k14152210




          62.3k14152210








          • 1





            After reading your answer, I realized how stupid my question was. It was obvious. Anyway, at least I've learned something. Nevertheless thanks for answering my question.

            – Dragos Rizescu
            Jan 9 '14 at 17:54






          • 6





            @DragosRizescu there isn't stupid questions.

            – Braiam
            Jan 9 '14 at 18:00






          • 2





            @DragosRizescu - valid question, there has been a lot of activity in changing around how services work on the various distros so it can get confusing.

            – slm
            Jan 9 '14 at 18:02











          • I am running systemd on my wheezy system.

            – jordanm
            Jan 9 '14 at 20:21














          • 1





            After reading your answer, I realized how stupid my question was. It was obvious. Anyway, at least I've learned something. Nevertheless thanks for answering my question.

            – Dragos Rizescu
            Jan 9 '14 at 17:54






          • 6





            @DragosRizescu there isn't stupid questions.

            – Braiam
            Jan 9 '14 at 18:00






          • 2





            @DragosRizescu - valid question, there has been a lot of activity in changing around how services work on the various distros so it can get confusing.

            – slm
            Jan 9 '14 at 18:02











          • I am running systemd on my wheezy system.

            – jordanm
            Jan 9 '14 at 20:21








          1




          1





          After reading your answer, I realized how stupid my question was. It was obvious. Anyway, at least I've learned something. Nevertheless thanks for answering my question.

          – Dragos Rizescu
          Jan 9 '14 at 17:54





          After reading your answer, I realized how stupid my question was. It was obvious. Anyway, at least I've learned something. Nevertheless thanks for answering my question.

          – Dragos Rizescu
          Jan 9 '14 at 17:54




          6




          6





          @DragosRizescu there isn't stupid questions.

          – Braiam
          Jan 9 '14 at 18:00





          @DragosRizescu there isn't stupid questions.

          – Braiam
          Jan 9 '14 at 18:00




          2




          2





          @DragosRizescu - valid question, there has been a lot of activity in changing around how services work on the various distros so it can get confusing.

          – slm
          Jan 9 '14 at 18:02





          @DragosRizescu - valid question, there has been a lot of activity in changing around how services work on the various distros so it can get confusing.

          – slm
          Jan 9 '14 at 18:02













          I am running systemd on my wheezy system.

          – jordanm
          Jan 9 '14 at 20:21





          I am running systemd on my wheezy system.

          – jordanm
          Jan 9 '14 at 20:21













          61














          On Debian jessie try: service --status-all.



          It is in the sysvinit-utils package.






          share|improve this answer




























            61














            On Debian jessie try: service --status-all.



            It is in the sysvinit-utils package.






            share|improve this answer


























              61












              61








              61







              On Debian jessie try: service --status-all.



              It is in the sysvinit-utils package.






              share|improve this answer













              On Debian jessie try: service --status-all.



              It is in the sysvinit-utils package.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Dec 29 '15 at 13:21









              michael.kebemichael.kebe

              71153




              71153























                  11














                  service --status-all


                  Will list all services with a status code, being stopped or off (-), started or on (+), or unknown (?), which means no status code section in their init.d script. Not just running services.






                  share|improve this answer






























                    11














                    service --status-all


                    Will list all services with a status code, being stopped or off (-), started or on (+), or unknown (?), which means no status code section in their init.d script. Not just running services.






                    share|improve this answer




























                      11












                      11








                      11







                      service --status-all


                      Will list all services with a status code, being stopped or off (-), started or on (+), or unknown (?), which means no status code section in their init.d script. Not just running services.






                      share|improve this answer















                      service --status-all


                      Will list all services with a status code, being stopped or off (-), started or on (+), or unknown (?), which means no status code section in their init.d script. Not just running services.







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Jul 18 '17 at 22:26

























                      answered May 23 '17 at 4:10









                      cdecde

                      27528




                      27528























                          0














                          /etc/init.d contains scripts used by the System V init tools (SysVinit).



                          List executable:



                          ls -F /etc/init.d/ | grep '*$'





                          share|improve this answer




























                            0














                            /etc/init.d contains scripts used by the System V init tools (SysVinit).



                            List executable:



                            ls -F /etc/init.d/ | grep '*$'





                            share|improve this answer


























                              0












                              0








                              0







                              /etc/init.d contains scripts used by the System V init tools (SysVinit).



                              List executable:



                              ls -F /etc/init.d/ | grep '*$'





                              share|improve this answer













                              /etc/init.d contains scripts used by the System V init tools (SysVinit).



                              List executable:



                              ls -F /etc/init.d/ | grep '*$'






                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Nov 5 '18 at 9:08









                              CamelTMCamelTM

                              101




                              101























                                  0














                                  As said with systemd would be



                                  systemctl --full --type service --all


                                  From man page:




                                  -l, --full Do not ellipsize unit names, process tree entries, journal output, or truncate unit descriptions in the output of status, list-units, list-jobs, and list-timers.



                                  -a, --all When listing units with list-units, also show inactive units and units which are following other units. When showing unit/job/manager properties, show all properties regardless whether they are set or not.







                                  share|improve this answer




























                                    0














                                    As said with systemd would be



                                    systemctl --full --type service --all


                                    From man page:




                                    -l, --full Do not ellipsize unit names, process tree entries, journal output, or truncate unit descriptions in the output of status, list-units, list-jobs, and list-timers.



                                    -a, --all When listing units with list-units, also show inactive units and units which are following other units. When showing unit/job/manager properties, show all properties regardless whether they are set or not.







                                    share|improve this answer


























                                      0












                                      0








                                      0







                                      As said with systemd would be



                                      systemctl --full --type service --all


                                      From man page:




                                      -l, --full Do not ellipsize unit names, process tree entries, journal output, or truncate unit descriptions in the output of status, list-units, list-jobs, and list-timers.



                                      -a, --all When listing units with list-units, also show inactive units and units which are following other units. When showing unit/job/manager properties, show all properties regardless whether they are set or not.







                                      share|improve this answer













                                      As said with systemd would be



                                      systemctl --full --type service --all


                                      From man page:




                                      -l, --full Do not ellipsize unit names, process tree entries, journal output, or truncate unit descriptions in the output of status, list-units, list-jobs, and list-timers.



                                      -a, --all When listing units with list-units, also show inactive units and units which are following other units. When showing unit/job/manager properties, show all properties regardless whether they are set or not.








                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered 25 mins ago









                                      Pablo BianchiPablo Bianchi

                                      507511




                                      507511






























                                          draft saved

                                          draft discarded




















































                                          Thanks for contributing an answer to Unix & Linux Stack Exchange!


                                          • Please be sure to answer the question. Provide details and share your research!

                                          But avoid



                                          • Asking for help, clarification, or responding to other answers.

                                          • Making statements based on opinion; back them up with references or personal experience.


                                          To learn more, see our tips on writing great answers.




                                          draft saved


                                          draft discarded














                                          StackExchange.ready(
                                          function () {
                                          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f108591%2flist-of-available-services%23new-answer', 'question_page');
                                          }
                                          );

                                          Post as a guest















                                          Required, but never shown





















































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown

































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown







                                          Popular posts from this blog

                                          濃尾地震

                                          How to rewrite equation of hyperbola in standard form

                                          No ethernet ip address in my vocore2