Difference between shutdown optionsWhy doesn't running “sudo shutdown now” shut down?Ubuntu hangs on shutdownUbuntu 12.04 doesn't turn off (halt) under ESXi 5.0U1Ubuntu 12.10 wireless shutdown issueSystem will not power down on shutdowngui shutdown on acer aspire v5-573G not workingTrap the shutdown event of ubuntu systemShutdown LubuntuStandby and Shutdown Hang on Macbook Pro 11,4Ubuntu 16.04 hangs on shutdown/restartno shutdown, kubuntu 16.04.2
Why is it that I can sometimes guess the next note?
Temporarily disable WLAN internet access for children, but allow it for adults
What is the evidence for the "tyranny of the majority problem" in a direct democracy context?
Can disgust be a key component of horror?
What happens if you are holding an Iron Flask with a demon inside and walk into an Antimagic Field?
Is this toilet slogan correct usage of the English language?
How to cover method return statement in Apex Class?
Fear of getting stuck on one programming language / technology that is not used in my country
How much character growth crosses the line into breaking the character
Sums of entire surjective functions
I'm the sea and the sun
When were female captains banned from Starfleet?
The IT department bottlenecks progress. How should I handle this?
Is there a RAID 0 Equivalent for RAM?
What's the difference between releasing hormones and tropic hormones?
Why does the Sun have different day lengths, but not the gas giants?
How do apertures which seem too large to physically fit work?
What does chmod -u do?
What is going on with 'gets(stdin)' on the site coderbyte?
Is there a way to get `mathscr' with lower case letters in pdfLaTeX?
Why is this estimator biased?
Why did the EU agree to delay the Brexit deadline?
Creepy dinosaur pc game identification
Keeping a ball lost forever
Difference between shutdown options
Why doesn't running “sudo shutdown now” shut down?Ubuntu hangs on shutdownUbuntu 12.04 doesn't turn off (halt) under ESXi 5.0U1Ubuntu 12.10 wireless shutdown issueSystem will not power down on shutdowngui shutdown on acer aspire v5-573G not workingTrap the shutdown event of ubuntu systemShutdown LubuntuStandby and Shutdown Hang on Macbook Pro 11,4Ubuntu 16.04 hangs on shutdown/restartno shutdown, kubuntu 16.04.2
I'd like to know what the difference is between shutdown -H
(halt the machine) and shutdown -P
(poweroff the machine).
I understand what poweroff means; it's rather self-explanatory. But what exactly is "halt"?
Background:
I need to turn off my PC with a terminal-command because otherwise the shutdown/reboot hangs.
I found the command shutdown -H -P +0
here.
It seems to be combination of the two options and it really works fine.
P.S. I have Lubuntu 18.04.2, 64 bit
shutdown
add a comment |
I'd like to know what the difference is between shutdown -H
(halt the machine) and shutdown -P
(poweroff the machine).
I understand what poweroff means; it's rather self-explanatory. But what exactly is "halt"?
Background:
I need to turn off my PC with a terminal-command because otherwise the shutdown/reboot hangs.
I found the command shutdown -H -P +0
here.
It seems to be combination of the two options and it really works fine.
P.S. I have Lubuntu 18.04.2, 64 bit
shutdown
1
Why not try and find the source of the shutdown/reboot problem? When it hangs, try hitting the ESC key and see if it brings up a text log of the shutdown/reboot process. Look at any FAIL entries, or the last few entries, for a clue.
– heynnema
2 days ago
1
@ heynnema: It´s a bit difficult. Some other people experience the same problem. Shutdown/reboot hangs at a certain point: "kvm: exiting hardware virtualization". See also: unix.stackexchange.com/questions/188747/… . The easiest way turns out to be "poweroff".
– Rosika
2 days ago
1
@sudodus Thanks for posting an answer. You should probably delete your comment now.
– wizzwizz4
2 days ago
3
Possible duplicate of Why doesn't running "sudo shutdown now" shut down?
– heemayl
yesterday
add a comment |
I'd like to know what the difference is between shutdown -H
(halt the machine) and shutdown -P
(poweroff the machine).
I understand what poweroff means; it's rather self-explanatory. But what exactly is "halt"?
Background:
I need to turn off my PC with a terminal-command because otherwise the shutdown/reboot hangs.
I found the command shutdown -H -P +0
here.
It seems to be combination of the two options and it really works fine.
P.S. I have Lubuntu 18.04.2, 64 bit
shutdown
I'd like to know what the difference is between shutdown -H
(halt the machine) and shutdown -P
(poweroff the machine).
I understand what poweroff means; it's rather self-explanatory. But what exactly is "halt"?
Background:
I need to turn off my PC with a terminal-command because otherwise the shutdown/reboot hangs.
I found the command shutdown -H -P +0
here.
It seems to be combination of the two options and it really works fine.
P.S. I have Lubuntu 18.04.2, 64 bit
shutdown
shutdown
edited 2 days ago
wjandrea
9,35642664
9,35642664
asked 2 days ago
RosikaRosika
16811
16811
1
Why not try and find the source of the shutdown/reboot problem? When it hangs, try hitting the ESC key and see if it brings up a text log of the shutdown/reboot process. Look at any FAIL entries, or the last few entries, for a clue.
– heynnema
2 days ago
1
@ heynnema: It´s a bit difficult. Some other people experience the same problem. Shutdown/reboot hangs at a certain point: "kvm: exiting hardware virtualization". See also: unix.stackexchange.com/questions/188747/… . The easiest way turns out to be "poweroff".
– Rosika
2 days ago
1
@sudodus Thanks for posting an answer. You should probably delete your comment now.
– wizzwizz4
2 days ago
3
Possible duplicate of Why doesn't running "sudo shutdown now" shut down?
– heemayl
yesterday
add a comment |
1
Why not try and find the source of the shutdown/reboot problem? When it hangs, try hitting the ESC key and see if it brings up a text log of the shutdown/reboot process. Look at any FAIL entries, or the last few entries, for a clue.
– heynnema
2 days ago
1
@ heynnema: It´s a bit difficult. Some other people experience the same problem. Shutdown/reboot hangs at a certain point: "kvm: exiting hardware virtualization". See also: unix.stackexchange.com/questions/188747/… . The easiest way turns out to be "poweroff".
– Rosika
2 days ago
1
@sudodus Thanks for posting an answer. You should probably delete your comment now.
– wizzwizz4
2 days ago
3
Possible duplicate of Why doesn't running "sudo shutdown now" shut down?
– heemayl
yesterday
1
1
Why not try and find the source of the shutdown/reboot problem? When it hangs, try hitting the ESC key and see if it brings up a text log of the shutdown/reboot process. Look at any FAIL entries, or the last few entries, for a clue.
– heynnema
2 days ago
Why not try and find the source of the shutdown/reboot problem? When it hangs, try hitting the ESC key and see if it brings up a text log of the shutdown/reboot process. Look at any FAIL entries, or the last few entries, for a clue.
– heynnema
2 days ago
1
1
@ heynnema: It´s a bit difficult. Some other people experience the same problem. Shutdown/reboot hangs at a certain point: "kvm: exiting hardware virtualization". See also: unix.stackexchange.com/questions/188747/… . The easiest way turns out to be "poweroff".
– Rosika
2 days ago
@ heynnema: It´s a bit difficult. Some other people experience the same problem. Shutdown/reboot hangs at a certain point: "kvm: exiting hardware virtualization". See also: unix.stackexchange.com/questions/188747/… . The easiest way turns out to be "poweroff".
– Rosika
2 days ago
1
1
@sudodus Thanks for posting an answer. You should probably delete your comment now.
– wizzwizz4
2 days ago
@sudodus Thanks for posting an answer. You should probably delete your comment now.
– wizzwizz4
2 days ago
3
3
Possible duplicate of Why doesn't running "sudo shutdown now" shut down?
– heemayl
yesterday
Possible duplicate of Why doesn't running "sudo shutdown now" shut down?
– heemayl
yesterday
add a comment |
2 Answers
2
active
oldest
votes
Make it easy and use the command
poweroff
It works with my Lubuntu 18.04 LTS.
halt
means flush buffers, unmount drives, close all processes in a graceful way. But not power off (though some systems may power off anyway). So the hardware is still provided with power.
After halt
a hard power off (pressing the power button or unplugging the power supply) will not damage the system, because it is already halted in a graceful way.
This is a great answer. Explained clearly and unambiguously.
– Clonkex
2 days ago
add a comment |
From the man page of shutdown
:
-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
Halted here means it is going to wait for a user action. That can be pressing the power down button and holding it to stop the machine. But also pressing a key that would restart the machine. That can be useful if you want to enter BIOS of the machine.
-P
Requests that the system be powered off after it has been brought down.
+0
it the time it has to wait in minutes
So... -P
can, depending on the system, already be part of the -H
option. You need the -P
if the -H
does not power down by itself. What actually happens is part of ACPI and the implementation of it can be buggy so for some it works for others not so ... The general idea when giving a solution is to try to cover all the bases and that would be to use both: -H
and -P
.
8
Recall that older computers (without ACPI) couldn't turn themselves off. Witness Windows 95's "It is now safe to turn off your computer" screen.
– Roger Lipscombe
2 days ago
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
);
);
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%2f1127222%2fdifference-between-shutdown-options%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Make it easy and use the command
poweroff
It works with my Lubuntu 18.04 LTS.
halt
means flush buffers, unmount drives, close all processes in a graceful way. But not power off (though some systems may power off anyway). So the hardware is still provided with power.
After halt
a hard power off (pressing the power button or unplugging the power supply) will not damage the system, because it is already halted in a graceful way.
This is a great answer. Explained clearly and unambiguously.
– Clonkex
2 days ago
add a comment |
Make it easy and use the command
poweroff
It works with my Lubuntu 18.04 LTS.
halt
means flush buffers, unmount drives, close all processes in a graceful way. But not power off (though some systems may power off anyway). So the hardware is still provided with power.
After halt
a hard power off (pressing the power button or unplugging the power supply) will not damage the system, because it is already halted in a graceful way.
This is a great answer. Explained clearly and unambiguously.
– Clonkex
2 days ago
add a comment |
Make it easy and use the command
poweroff
It works with my Lubuntu 18.04 LTS.
halt
means flush buffers, unmount drives, close all processes in a graceful way. But not power off (though some systems may power off anyway). So the hardware is still provided with power.
After halt
a hard power off (pressing the power button or unplugging the power supply) will not damage the system, because it is already halted in a graceful way.
Make it easy and use the command
poweroff
It works with my Lubuntu 18.04 LTS.
halt
means flush buffers, unmount drives, close all processes in a graceful way. But not power off (though some systems may power off anyway). So the hardware is still provided with power.
After halt
a hard power off (pressing the power button or unplugging the power supply) will not damage the system, because it is already halted in a graceful way.
answered 2 days ago
sudodussudodus
25.5k32978
25.5k32978
This is a great answer. Explained clearly and unambiguously.
– Clonkex
2 days ago
add a comment |
This is a great answer. Explained clearly and unambiguously.
– Clonkex
2 days ago
This is a great answer. Explained clearly and unambiguously.
– Clonkex
2 days ago
This is a great answer. Explained clearly and unambiguously.
– Clonkex
2 days ago
add a comment |
From the man page of shutdown
:
-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
Halted here means it is going to wait for a user action. That can be pressing the power down button and holding it to stop the machine. But also pressing a key that would restart the machine. That can be useful if you want to enter BIOS of the machine.
-P
Requests that the system be powered off after it has been brought down.
+0
it the time it has to wait in minutes
So... -P
can, depending on the system, already be part of the -H
option. You need the -P
if the -H
does not power down by itself. What actually happens is part of ACPI and the implementation of it can be buggy so for some it works for others not so ... The general idea when giving a solution is to try to cover all the bases and that would be to use both: -H
and -P
.
8
Recall that older computers (without ACPI) couldn't turn themselves off. Witness Windows 95's "It is now safe to turn off your computer" screen.
– Roger Lipscombe
2 days ago
add a comment |
From the man page of shutdown
:
-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
Halted here means it is going to wait for a user action. That can be pressing the power down button and holding it to stop the machine. But also pressing a key that would restart the machine. That can be useful if you want to enter BIOS of the machine.
-P
Requests that the system be powered off after it has been brought down.
+0
it the time it has to wait in minutes
So... -P
can, depending on the system, already be part of the -H
option. You need the -P
if the -H
does not power down by itself. What actually happens is part of ACPI and the implementation of it can be buggy so for some it works for others not so ... The general idea when giving a solution is to try to cover all the bases and that would be to use both: -H
and -P
.
8
Recall that older computers (without ACPI) couldn't turn themselves off. Witness Windows 95's "It is now safe to turn off your computer" screen.
– Roger Lipscombe
2 days ago
add a comment |
From the man page of shutdown
:
-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
Halted here means it is going to wait for a user action. That can be pressing the power down button and holding it to stop the machine. But also pressing a key that would restart the machine. That can be useful if you want to enter BIOS of the machine.
-P
Requests that the system be powered off after it has been brought down.
+0
it the time it has to wait in minutes
So... -P
can, depending on the system, already be part of the -H
option. You need the -P
if the -H
does not power down by itself. What actually happens is part of ACPI and the implementation of it can be buggy so for some it works for others not so ... The general idea when giving a solution is to try to cover all the bases and that would be to use both: -H
and -P
.
From the man page of shutdown
:
-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
Halted here means it is going to wait for a user action. That can be pressing the power down button and holding it to stop the machine. But also pressing a key that would restart the machine. That can be useful if you want to enter BIOS of the machine.
-P
Requests that the system be powered off after it has been brought down.
+0
it the time it has to wait in minutes
So... -P
can, depending on the system, already be part of the -H
option. You need the -P
if the -H
does not power down by itself. What actually happens is part of ACPI and the implementation of it can be buggy so for some it works for others not so ... The general idea when giving a solution is to try to cover all the bases and that would be to use both: -H
and -P
.
edited 2 days ago
N0rbert
24.4k851115
24.4k851115
answered 2 days ago
RinzwindRinzwind
208k28400534
208k28400534
8
Recall that older computers (without ACPI) couldn't turn themselves off. Witness Windows 95's "It is now safe to turn off your computer" screen.
– Roger Lipscombe
2 days ago
add a comment |
8
Recall that older computers (without ACPI) couldn't turn themselves off. Witness Windows 95's "It is now safe to turn off your computer" screen.
– Roger Lipscombe
2 days ago
8
8
Recall that older computers (without ACPI) couldn't turn themselves off. Witness Windows 95's "It is now safe to turn off your computer" screen.
– Roger Lipscombe
2 days ago
Recall that older computers (without ACPI) couldn't turn themselves off. Witness Windows 95's "It is now safe to turn off your computer" screen.
– Roger Lipscombe
2 days ago
add a comment |
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%2f1127222%2fdifference-between-shutdown-options%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
1
Why not try and find the source of the shutdown/reboot problem? When it hangs, try hitting the ESC key and see if it brings up a text log of the shutdown/reboot process. Look at any FAIL entries, or the last few entries, for a clue.
– heynnema
2 days ago
1
@ heynnema: It´s a bit difficult. Some other people experience the same problem. Shutdown/reboot hangs at a certain point: "kvm: exiting hardware virtualization". See also: unix.stackexchange.com/questions/188747/… . The easiest way turns out to be "poweroff".
– Rosika
2 days ago
1
@sudodus Thanks for posting an answer. You should probably delete your comment now.
– wizzwizz4
2 days ago
3
Possible duplicate of Why doesn't running "sudo shutdown now" shut down?
– heemayl
yesterday