shutdown Command Generator
Generate shutdown commands to halt, power off, or reboot the system
Getting Started with shutdown
## What is shutdown?
`shutdown` halts, powers off, reboots, or schedules a system shutdown. It notifies logged-in users via a wall message before the action takes effect.
## How to Use
1. **Pick an Action**: Choose `-r` (reboot), `-P` (power off), `-H` (halt), or `-h` (halt/power off per system). 2. **Set a Time**: Use `now`, `+m` (minutes from now), or `hh:mm` (24-hour clock). 3. **Optional Message**: Add a wall message to warn logged-in users. 4. **Copy & Run**: Copy the generated command into your terminal (usually requires root).
Common Options
### `-r` Reboot Restart the system after shutdown.
### `-P` Power off Halt the system and request the kernel to power off the machine.
### `-H` Halt Halt the machine (stop the CPU) without powering it off.
### `-h` Halt or power off System-dependent: typically halts, then powers off. On most systems equivalent to power off.
### `-c` Cancel Cancel a pending scheduled shutdown. An optional message explains why.
### Time argument `now` acts immediately, `+m` waits `m` minutes, and `hh:mm` schedules at that 24-hour time.
### `--no-wall` Do not send the wall message to logged-in users.
### Wall message A free-text message broadcast to all logged-in terminals explaining the shutdown.
▶How do I cancel a scheduled shutdown?
▶How do I reboot in 10 minutes with a warning?
▶What's the difference between -H and -P?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee