09/30/2005
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.


2 Responses to “Shutdown style”

  1. 1Joseph on Oct 2, 2005 at 2:29 am:

    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. 2Jonas Trollvik on Oct 3, 2005 at 1:11 pm:

    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.