Difference between shutdown options [duplicate] The Next CEO of Stack OverflowWhy 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 believe this to be a fraud - hired, then asked to cash check and send cash as Bitcoin

Do I need to write [sic] when a number is less than 10 but isn't written out?

Rotate a column

What happened in Rome, when the western empire "fell"?

Chain wire methods together in Lightning Web Components

Minecraft Executing if more than 500 entities

Is it ever safe to open a suspicious HTML file (e.g. email attachment)?

Unreliable Magic - Is it worth it?

What is the difference between 翼 and 翅膀?

What steps are necessary to read a Modern SSD in Medieval Europe?

Why do remote US companies require working in the US?

Why didn't Khan get resurrected in the Genesis Explosion?

Does falling count as part of my movement?

How to place nodes around a circle from some initial angle?

How did people program for Consoles with multiple CPUs?

A Man With a Stainless Steel Endoskeleton (like The Terminator) Fighting Cloaked Aliens Only He Can See

Why don't programming languages automatically manage the synchronous/asynchronous problem?

No sign flipping while figuring out the emf of voltaic cell?

What does "Its cash flow is deeply negative" mean?

What flight has the highest ratio of time difference to flight time?

Proper way to express "He disappeared them"

Is it my responsibility to learn a new technology in my own time my employer wants to implement?

Math-accent symbol over parentheses enclosing accented symbol (amsmath)

How to get from Geneva Airport to Metabief?



Difference between shutdown options [duplicate]



The Next CEO of Stack OverflowWhy 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










18
















This question already has an answer here:



  • Why doesn't running “sudo shutdown now” shut down?

    4 answers



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










share|improve this question















marked as duplicate by heemayl, karel, Fabby, Eric Carvalho, N0rbert Mar 23 at 19:26


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.













  • 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
    Mar 20 at 13:34






  • 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
    Mar 20 at 15:39






  • 1





    @sudodus Thanks for posting an answer. You should probably delete your comment now.

    – wizzwizz4
    Mar 20 at 19:54















18
















This question already has an answer here:



  • Why doesn't running “sudo shutdown now” shut down?

    4 answers



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










share|improve this question















marked as duplicate by heemayl, karel, Fabby, Eric Carvalho, N0rbert Mar 23 at 19:26


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.













  • 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
    Mar 20 at 13:34






  • 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
    Mar 20 at 15:39






  • 1





    @sudodus Thanks for posting an answer. You should probably delete your comment now.

    – wizzwizz4
    Mar 20 at 19:54













18












18








18


3







This question already has an answer here:



  • Why doesn't running “sudo shutdown now” shut down?

    4 answers



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










share|improve this question

















This question already has an answer here:



  • Why doesn't running “sudo shutdown now” shut down?

    4 answers



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





This question already has an answer here:



  • Why doesn't running “sudo shutdown now” shut down?

    4 answers







shutdown






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 20 at 15:15









wjandrea

9,45842664




9,45842664










asked Mar 20 at 12:58









RosikaRosika

16811




16811




marked as duplicate by heemayl, karel, Fabby, Eric Carvalho, N0rbert Mar 23 at 19:26


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by heemayl, karel, Fabby, Eric Carvalho, N0rbert Mar 23 at 19:26


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









  • 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
    Mar 20 at 13:34






  • 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
    Mar 20 at 15:39






  • 1





    @sudodus Thanks for posting an answer. You should probably delete your comment now.

    – wizzwizz4
    Mar 20 at 19:54












  • 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
    Mar 20 at 13:34






  • 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
    Mar 20 at 15:39






  • 1





    @sudodus Thanks for posting an answer. You should probably delete your comment now.

    – wizzwizz4
    Mar 20 at 19:54







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
Mar 20 at 13:34





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
Mar 20 at 13:34




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
Mar 20 at 15:39





@ 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
Mar 20 at 15:39




1




1





@sudodus Thanks for posting an answer. You should probably delete your comment now.

– wizzwizz4
Mar 20 at 19:54





@sudodus Thanks for posting an answer. You should probably delete your comment now.

– wizzwizz4
Mar 20 at 19:54










2 Answers
2






active

oldest

votes


















15














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.






share|improve this answer























  • This is a great answer. Explained clearly and unambiguously.

    – Clonkex
    Mar 20 at 22:09


















11














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.






share|improve this answer




















  • 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
    Mar 20 at 16:22

















2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









15














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.






share|improve this answer























  • This is a great answer. Explained clearly and unambiguously.

    – Clonkex
    Mar 20 at 22:09















15














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.






share|improve this answer























  • This is a great answer. Explained clearly and unambiguously.

    – Clonkex
    Mar 20 at 22:09













15












15








15







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.






share|improve this answer













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.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 20 at 14:26









sudodussudodus

25.6k33078




25.6k33078












  • This is a great answer. Explained clearly and unambiguously.

    – Clonkex
    Mar 20 at 22:09

















  • This is a great answer. Explained clearly and unambiguously.

    – Clonkex
    Mar 20 at 22:09
















This is a great answer. Explained clearly and unambiguously.

– Clonkex
Mar 20 at 22:09





This is a great answer. Explained clearly and unambiguously.

– Clonkex
Mar 20 at 22:09













11














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.






share|improve this answer




















  • 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
    Mar 20 at 16:22















11














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.






share|improve this answer




















  • 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
    Mar 20 at 16:22













11












11








11







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.






share|improve this answer















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.







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 20 at 21:00









N0rbert

24.7k852116




24.7k852116










answered Mar 20 at 13:23









RinzwindRinzwind

209k28402537




209k28402537







  • 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
    Mar 20 at 16:22












  • 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
    Mar 20 at 16:22







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
Mar 20 at 16:22





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
Mar 20 at 16:22



Popular posts from this blog

He _____ here since 1970 . Answer needed [closed]What does “since he was so high” mean?Meaning of “catch birds for”?How do I ensure “since” takes the meaning I want?“Who cares here” meaningWhat does “right round toward” mean?the time tense (had now been detected)What does the phrase “ring around the roses” mean here?Correct usage of “visited upon”Meaning of “foiled rail sabotage bid”It was the third time I had gone to Rome or It is the third time I had been to Rome

Bunad

Færeyskur hestur Heimild | Tengill | Tilvísanir | LeiðsagnarvalRossið - síða um færeyska hrossið á færeyskuGott ár hjá færeyska hestinum