commands.sh

systemctl-halt

linux

Shut down and halt the system (stop the OS kernel but keep hardware powered on). See also: `halt`.

More info →

Options (2)

-f, --forceboolean

Halt the system immediately without asking services to stop gracefully

Example: systemctl halt {{[-f|--force]}}
boolean

Halt the system immediately without terminating any processes or unmounting filesystems (dangerous, may cause data loss)

Example: systemctl halt {{[-ff|--force --force]}}

Examples (7)

Halt the system

Halt the system immediately without asking services to stop gracefully

systemctl halt [-f|--force]

Halt the system immediately without sending notifications to logged-in users

systemctl halt [-f|--force] --no-wall

Halt the system immediately without terminating any processes or unmounting filesystems (dangerous, may cause data loss)

systemctl halt [-ff|--force --force]

Schedule a halt at a specific time (e.g., 23:00)

systemctl halt --when 23:00

Schedule a halt after a certain duration (e.g., 2 hours)

systemctl halt --when +2h

Cancel a scheduled halt

made by @shridhargupta | data from tldr-pages