I've heard several times that if I want to shut down / restart the computer through the terminal, just do one of the following:
- halt
- poweroff
- reboot
poweroff
and reboot
are very intuitive "off" and "restart", I just did not understand halt
"stop"
To which I was told:
"The computer has startup stages
halt
sends to stage 0"
I also learned that it has 6 stages.
From the terminal documentation I have not had much success in knowing what they are:
> man halt
...
DESCRIPTION
halt, poweroff, reboot may be used to halt, power-off or reboot the machine.
...
Doubt
- What actually is
halt
? - What are his stages?