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 Replies to “Shutdown style”

  1. 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. 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.

Comments are closed.