Difference between “halt” and “shutdown now”?
When you execute a command (
sudo halt ) Command System stops working
So you execute this command on another set of computers and the result was that the freeze system
The shutdown command can be used to shutdown or reboot the system. You also have a time option.
To shutdown the system now you can use.
The -h refers to halt of the system.
If you wanted the system to shutdown at a specific time you could use something like this.
A message will be sent out to all users at 12:30 that the system will shutdown at 12:45.
As some of the other answers have mentioned you can also use on most systems.
To reboot the system you can use the same commands I have mentioned just substitute the halt for reboot or the -h for an -r for example.