commands.sh

halt

linux

Halt the system.

More info →

Options (3)

-p, --poweroffboolean

Power off the system (same as `poweroff`)

Example: halt {{[-p|--poweroff]}}
-f, --forceboolean

Halt immediately without contacting the system manager

Example: halt {{[-f|--force]}}
-w, --wtmp-onlyboolean

Write the wtmp shutdown entry without halting the system

Example: halt {{[-w|--wtmp-only]}}

Examples (5)

Halt the system

Power off the system (same as `poweroff`)

halt [-p|--poweroff]

Reboot the system (same as `reboot`)

halt --reboot

Halt immediately without contacting the system manager

halt [-f|--force]

Write the wtmp shutdown entry without halting the system

halt [-w|--wtmp-only]
made by @shridhargupta | data from tldr-pages