Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

How to shutdown Ubuntu on the computer without power button

Writer Matthew Harrington

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/powerbtnThis 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

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

0

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

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.

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

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy