HxHippy

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, --force

Force halt without calling shutdown. Use with extreme caution.

-p, --poweroff

If halting, also power off the system.

--reboot

Reboot the system instead of halting.

-w, --wtmp-only

Don't actually halt, but write wtmp record. For testing/logging.

--no-wtmp

Do 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.

haltshutdownstopsystemadmin