Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Should I be using one or the other for different things?

share|improve this question
man halt covers the differences – RobotHumans Jan 23 '11 at 22:58
have read it, just wanted clairification – loosecannon Jan 26 '11 at 3:42
up vote 11 down vote accepted

halt brings the system down to its lowest state, but leaves it powered on.

shutdown brings the system down to its lowest state, and will turn off power (soft power switch) if it can. Most computers now can do so.

reboot restarts the system. It brings the system down to its lowest state, then starts it up again.

Which to do depends on what you want to do. halt is usually to get to a state where you can perform low level maintenance. shutdown is to power the system off, and reboot is to reboot it.

share|improve this answer
Whenever I use the halt command on Mac OS X and Linux, it completely shuts my system down. – Wuffers Jan 24 '11 at 0:15
This is slightly incorrect. shutdown can bring the system to any of these states, including single user mode (the default). Also, there is the poweroff command, turning power off (if possible). – maxelost Jan 24 '11 at 16:45
yeah halt also completely turns my computer off ( Ubuntu server 9.04) but I normally just type halt to poweroff and reboot to restart because its shorter than the shutdown command. Any harm in that? – loosecannon Jan 26 '11 at 3:40
@loosecanon - ask your question in a separate question. :-) There is actually an issue with what you suggest, and could cause data loss. – Greenonline Jul 27 '15 at 14:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .