What Is Halt Command in Linux?
Contents This Command in Linux Is Used to Instruct the Hardware to Stop All the Cpu Functions. Basically, It Reboots or Stops the System. If the System Is in...
This command in Linux is used to instruct the hardware to stop all the CPU functions. Basically, it reboots or stops the system. If the system is in runlevel 0 or 6 or using the command with –force option, it results in rebooting of the system otherwise it results in shutdown. Syntax: halt [OPTION]…
What is difference between halt and shutdown?
The thin difference is that in halt you have to conveniently push the power button to shutdown the system whereas in shutdown command it will automatically instruct the Advanced Configuration Power Interface (ACPI) to sent a signal to the power unit to turn off the system.
Must Read
What is halt after shutdown?
Halt Command
halt instructs the hardware to stop all CPU functions, but leaves it powered on. You can use it to get the system to a state where you can perform low level maintenance. Note that in some cases it completely shuts down the system.