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.

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)

Mentions

  • Jonas Trollvik
  • Joseph