halt
Halt the system
Overview
Halts the system, stopping all CPU functions. Depending on the system, it may or may not cut power. Often a symlink to systemctl halt or equivalent to `shutdown -H now`.
Syntax
halt [OPTION]...Common Options
-f, --forceForce halt without calling shutdown. Use with extreme caution.
-p, --poweroffIf halting, also power off the system.
--rebootReboot the system instead of halting.
-w, --wtmp-onlyDon't actually halt, but write wtmp record. For testing/logging.
--no-wtmpDo not write wtmp record.
Examples
$ sudo halt
Halts the system.
$ sudo halt -p
Halts and then powers off the system.
$ sudo halt -f
Forces an immediate halt. Use with caution.
Related Commands
haltshutdownstopsystemadmin