Service & System
poweroff
Power off the machine completely.
Synopsis
syntax
poweroff [OPTION]...
Examples
Power off the system
sudo poweroff
Force immediate power off
sudo poweroff -f
Common options
| Flag | Description |
|---|---|
| -f | Force power off |
| --no-wall | Don't send wall message |
About poweroff
The `poweroff` command power off the machine completely. Service and system commands manage daemons, scheduled tasks, system boot, and shutdown operations.
Modern Linux distributions use systemd for service management, though some still support SysVinit scripts. Understanding these commands is essential for deploying and maintaining production services.
The command accepts 2 commonly used flags shown above, though the full set of options is available in the man page (`man poweroff`). The 2 examples on this page cover typical real-world usage patterns that you can copy and adapt for your own workflows.
Related commands
More Service & System Commands
Other commands in the Service & System category