System and processes
The halt command
Stops the system without necessarily cutting the power. Classic way to halt the machine.
Syntax
sudo haltCopy-ready examples
$ sudo haltHalt the systemYou can try them in the browser terminal: it does not touch your computer.
Typical mistakes
- On modern machines it usually behaves like poweroff; on servers it can leave them stopped with power.
FAQ
When to use it?
Almost never directly: poweroff or shutdown are clearer.
Learn to actually use it
The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.
Start the free course