How to shutdown Ubuntu on the computer without power button
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
New contributor
add a comment |
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
New contributor
add a comment |
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
New contributor
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
shutdown
New contributor
New contributor
edited Mar 13 at 12:42
Manu Mathur
54129
54129
New contributor
asked Mar 13 at 9:53
MinoruMinoru
61
61
New contributor
New contributor
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
From a terminal / ssh prompt run sudo shutdown -h now
to power down the server.
Also poweroff
might work.
add a comment |
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
add a comment |
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.
add a comment |
as per the model number you provided in your question..(Advantec EPC-T2285)
it has power button
as a example: in Ubuntu 18.10 (may be similar up to some previous versions)
you can configure the options in settings
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..
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
From a terminal / ssh prompt run sudo shutdown -h now
to power down the server.
Also poweroff
might work.
add a comment |
From a terminal / ssh prompt run sudo shutdown -h now
to power down the server.
Also poweroff
might work.
add a comment |
From a terminal / ssh prompt run sudo shutdown -h now
to power down the server.
Also poweroff
might work.
From a terminal / ssh prompt run sudo shutdown -h now
to power down the server.
Also poweroff
might work.
edited Mar 13 at 10:00
Pilot6
53.5k15109198
53.5k15109198
answered Mar 13 at 9:56
Soren ASoren A
3,55211024
3,55211024
add a comment |
add a comment |
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
add a comment |
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
add a comment |
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
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
answered Mar 13 at 10:07
jeroenjeroen
1,492916
1,492916
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered Mar 13 at 10:01
CedCed
13310
13310
add a comment |
add a comment |
as per the model number you provided in your question..(Advantec EPC-T2285)
it has power button
as a example: in Ubuntu 18.10 (may be similar up to some previous versions)
you can configure the options in settings
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..
add a comment |
as per the model number you provided in your question..(Advantec EPC-T2285)
it has power button
as a example: in Ubuntu 18.10 (may be similar up to some previous versions)
you can configure the options in settings
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..
add a comment |
as per the model number you provided in your question..(Advantec EPC-T2285)
it has power button
as a example: in Ubuntu 18.10 (may be similar up to some previous versions)
you can configure the options in settings
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..
as per the model number you provided in your question..(Advantec EPC-T2285)
it has power button
as a example: in Ubuntu 18.10 (may be similar up to some previous versions)
you can configure the options in settings
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..
answered Mar 13 at 12:51
PRATAPPRATAP
3,2082829
3,2082829
add a comment |
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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