LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

poweroff

Shut down and power off the system

TLDR

Power off the system
$ poweroff
copy
Halt the system
$ poweroff --halt
copy
Reboot the system
$ poweroff --reboot
copy
Power off immediately (force)
$ poweroff -f
copy
Write wtmp entry only
$ poweroff -w
copy

SYNOPSIS

poweroff [-f|--force] [-w|--wtmp-only] [--halt] [--reboot]

DESCRIPTION

poweroff shuts down the system and turns off power. On systems with ACPI or APM support, it signals hardware to cut power after shutdown completes.The command is typically a symlink to systemctl or the init system's shutdown mechanism. It ensures clean system shutdown with proper service termination.

PARAMETERS

-f, --force

Force immediate shutdown without system manager
-w, --wtmp-only
Write wtmp record without actual shutdown
--halt
Halt instead of power off
--reboot
Reboot instead of power off
-n, --no-wtmp
Don't write wtmp record

INSTALL

sudo apt install runit-init
copy

CAVEATS

Force option may cause data loss. Requires root privileges. Behavior varies by init system. Virtual machines may not honor power-off signal.

HISTORY

poweroff has been a standard Unix command for system shutdown. Modern implementations integrate with systemd or other init systems while maintaining the traditional interface.

SEE ALSO

shutdown(8), halt(8), reboot(8), systemctl(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid