commands.sh

poweroff

linux

Power off the system.

More info →

Options (2)

-f, --forceboolean

Shut down immediately without contacting the system manager

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

Write the wtmp shutdown entry without shutting down the system

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

Examples (5)

Power off the system

Halt the system (same as `halt`)

poweroff --halt

Reboot the system (same as `reboot`)

poweroff --reboot

Shut down immediately without contacting the system manager

poweroff [-f|--force]

Write the wtmp shutdown entry without shutting down the system

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