Shutdown style

If you’ve only ever used to ‘shutdown -h now‘ to halt a machine, Sepherosa Ziehau reminds that ‘shutdown -p now‘ is the way to get the server powered off.

Posted by     Categories: Goings-on     2 Comments
2 Comments on Shutdown style


  1. Joseph says:

    I usually use halt -p to shutdown, or should I say “power off”. Is there any major differences between the two that I’m not aware of?

  2. Jonas Trollvik says:

    shutdown sends a system wide message notifying about the shutdown aswell as it can schedule a system shutdown (i.e. +10 minutes) so users have time to log off and save their work before the shutdown will happen.
    I think (but Im not completley sure of this) that shutdown internally calls halt once it’s time to initiate the shutdown.