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.

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.