How to shutdown Ubuntu on the computer without power button












1















I am searching for the way how to shutdown Ubuntu with no use of shutdown command.
I've ever done the shutdown on the computer with power button using /etc/acpi/events/powerbtn
This time, I have to physically shut down on the computer(Advantec EPC-T2285) with the power switch.
But, I don't know how to physically shut down Ubuntu.



Please give me the help to do this.










share|improve this question









New contributor




Minoru is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    1















    I am searching for the way how to shutdown Ubuntu with no use of shutdown command.
    I've ever done the shutdown on the computer with power button using /etc/acpi/events/powerbtn
    This time, I have to physically shut down on the computer(Advantec EPC-T2285) with the power switch.
    But, I don't know how to physically shut down Ubuntu.



    Please give me the help to do this.










    share|improve this question









    New contributor




    Minoru is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      1












      1








      1








      I am searching for the way how to shutdown Ubuntu with no use of shutdown command.
      I've ever done the shutdown on the computer with power button using /etc/acpi/events/powerbtn
      This time, I have to physically shut down on the computer(Advantec EPC-T2285) with the power switch.
      But, I don't know how to physically shut down Ubuntu.



      Please give me the help to do this.










      share|improve this question









      New contributor




      Minoru is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I am searching for the way how to shutdown Ubuntu with no use of shutdown command.
      I've ever done the shutdown on the computer with power button using /etc/acpi/events/powerbtn
      This time, I have to physically shut down on the computer(Advantec EPC-T2285) with the power switch.
      But, I don't know how to physically shut down Ubuntu.



      Please give me the help to do this.







      shutdown






      share|improve this question









      New contributor




      Minoru is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Minoru is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited Mar 13 at 12:42









      Manu Mathur

      54129




      54129






      New contributor




      Minoru is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Mar 13 at 9:53









      MinoruMinoru

      61




      61




      New contributor




      Minoru is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Minoru is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Minoru is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          4 Answers
          4






          active

          oldest

          votes


















          3














          From a terminal / ssh prompt run sudo shutdown -h now to power down the server.
          Also poweroff might work.






          share|improve this answer

































            1














            As any user as long as that user is the only one logged in it is possible to poweroff as follows as well. systemctl poweroff






            share|improve this answer































              0














              You could just use sudo shutdown -h now or shutdown -r now



              In order to give you more details please read the Ubuntu shutdown documentation



                 -r     Requests that the system be rebooted after it has been brought down.

              -h Requests that the system be either halted or powered off after it has been brought
              down, with the choice as to which left up to the system.





              share|improve this answer































                0














                as per the model number you provided in your question..(Advantec EPC-T2285)

                it has power button



                enter image description here



                as a example: in Ubuntu 18.10 (may be similar up to some previous versions)
                you can configure the options in settings



                enter image description here



                once, you configured it to poweroff and once you press physical button
                it will prompt you with below options.. you can choose the options immediately or leave it for 60secs so that system will auto powroff..



                enter image description here






                share|improve this answer























                  Your Answer








                  StackExchange.ready(function() {
                  var channelOptions = {
                  tags: "".split(" "),
                  id: "89"
                  };
                  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: true,
                  noModals: true,
                  showLowRepImageUploadWarning: true,
                  reputationToPostImages: 10,
                  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
                  });


                  }
                  });






                  Minoru is a new contributor. Be nice, and check out our Code of Conduct.










                  draft saved

                  draft discarded


















                  StackExchange.ready(
                  function () {
                  StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1125269%2fhow-to-shutdown-ubuntu-on-the-computer-without-power-button%23new-answer', 'question_page');
                  }
                  );

                  Post as a guest















                  Required, but never shown

























                  4 Answers
                  4






                  active

                  oldest

                  votes








                  4 Answers
                  4






                  active

                  oldest

                  votes









                  active

                  oldest

                  votes






                  active

                  oldest

                  votes









                  3














                  From a terminal / ssh prompt run sudo shutdown -h now to power down the server.
                  Also poweroff might work.






                  share|improve this answer






























                    3














                    From a terminal / ssh prompt run sudo shutdown -h now to power down the server.
                    Also poweroff might work.






                    share|improve this answer




























                      3












                      3








                      3







                      From a terminal / ssh prompt run sudo shutdown -h now to power down the server.
                      Also poweroff might work.






                      share|improve this answer















                      From a terminal / ssh prompt run sudo shutdown -h now to power down the server.
                      Also poweroff might work.







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Mar 13 at 10:00









                      Pilot6

                      53.5k15109198




                      53.5k15109198










                      answered Mar 13 at 9:56









                      Soren ASoren A

                      3,55211024




                      3,55211024

























                          1














                          As any user as long as that user is the only one logged in it is possible to poweroff as follows as well. systemctl poweroff






                          share|improve this answer




























                            1














                            As any user as long as that user is the only one logged in it is possible to poweroff as follows as well. systemctl poweroff






                            share|improve this answer


























                              1












                              1








                              1







                              As any user as long as that user is the only one logged in it is possible to poweroff as follows as well. systemctl poweroff






                              share|improve this answer













                              As any user as long as that user is the only one logged in it is possible to poweroff as follows as well. systemctl poweroff







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Mar 13 at 10:07









                              jeroenjeroen

                              1,492916




                              1,492916























                                  0














                                  You could just use sudo shutdown -h now or shutdown -r now



                                  In order to give you more details please read the Ubuntu shutdown documentation



                                     -r     Requests that the system be rebooted after it has been brought down.

                                  -h Requests that the system be either halted or powered off after it has been brought
                                  down, with the choice as to which left up to the system.





                                  share|improve this answer




























                                    0














                                    You could just use sudo shutdown -h now or shutdown -r now



                                    In order to give you more details please read the Ubuntu shutdown documentation



                                       -r     Requests that the system be rebooted after it has been brought down.

                                    -h Requests that the system be either halted or powered off after it has been brought
                                    down, with the choice as to which left up to the system.





                                    share|improve this answer


























                                      0












                                      0








                                      0







                                      You could just use sudo shutdown -h now or shutdown -r now



                                      In order to give you more details please read the Ubuntu shutdown documentation



                                         -r     Requests that the system be rebooted after it has been brought down.

                                      -h Requests that the system be either halted or powered off after it has been brought
                                      down, with the choice as to which left up to the system.





                                      share|improve this answer













                                      You could just use sudo shutdown -h now or shutdown -r now



                                      In order to give you more details please read the Ubuntu shutdown documentation



                                         -r     Requests that the system be rebooted after it has been brought down.

                                      -h Requests that the system be either halted or powered off after it has been brought
                                      down, with the choice as to which left up to the system.






                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Mar 13 at 10:01









                                      CedCed

                                      13310




                                      13310























                                          0














                                          as per the model number you provided in your question..(Advantec EPC-T2285)

                                          it has power button



                                          enter image description here



                                          as a example: in Ubuntu 18.10 (may be similar up to some previous versions)
                                          you can configure the options in settings



                                          enter image description here



                                          once, you configured it to poweroff and once you press physical button
                                          it will prompt you with below options.. you can choose the options immediately or leave it for 60secs so that system will auto powroff..



                                          enter image description here






                                          share|improve this answer




























                                            0














                                            as per the model number you provided in your question..(Advantec EPC-T2285)

                                            it has power button



                                            enter image description here



                                            as a example: in Ubuntu 18.10 (may be similar up to some previous versions)
                                            you can configure the options in settings



                                            enter image description here



                                            once, you configured it to poweroff and once you press physical button
                                            it will prompt you with below options.. you can choose the options immediately or leave it for 60secs so that system will auto powroff..



                                            enter image description here






                                            share|improve this answer


























                                              0












                                              0








                                              0







                                              as per the model number you provided in your question..(Advantec EPC-T2285)

                                              it has power button



                                              enter image description here



                                              as a example: in Ubuntu 18.10 (may be similar up to some previous versions)
                                              you can configure the options in settings



                                              enter image description here



                                              once, you configured it to poweroff and once you press physical button
                                              it will prompt you with below options.. you can choose the options immediately or leave it for 60secs so that system will auto powroff..



                                              enter image description here






                                              share|improve this answer













                                              as per the model number you provided in your question..(Advantec EPC-T2285)

                                              it has power button



                                              enter image description here



                                              as a example: in Ubuntu 18.10 (may be similar up to some previous versions)
                                              you can configure the options in settings



                                              enter image description here



                                              once, you configured it to poweroff and once you press physical button
                                              it will prompt you with below options.. you can choose the options immediately or leave it for 60secs so that system will auto powroff..



                                              enter image description here







                                              share|improve this answer












                                              share|improve this answer



                                              share|improve this answer










                                              answered Mar 13 at 12:51









                                              PRATAPPRATAP

                                              3,2082829




                                              3,2082829






















                                                  Minoru is a new contributor. Be nice, and check out our Code of Conduct.










                                                  draft saved

                                                  draft discarded


















                                                  Minoru is a new contributor. Be nice, and check out our Code of Conduct.













                                                  Minoru is a new contributor. Be nice, and check out our Code of Conduct.












                                                  Minoru is a new contributor. Be nice, and check out our Code of Conduct.
















                                                  Thanks for contributing an answer to Ask Ubuntu!


                                                  • 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%2faskubuntu.com%2fquestions%2f1125269%2fhow-to-shutdown-ubuntu-on-the-computer-without-power-button%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

                                                  數位音樂下載

                                                  When can things happen in Etherscan, such as the picture below?

                                                  格利澤436b