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.

4 Answers 4

3

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

0
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

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.
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

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.