shutdown

Power off or reboot the system

high risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
Safer / dry-run alternatives
shutdown -r +10 "message"Schedule with a warning
shutdown -cCancel if it was a mistake
What it does

Schedules a halt, poweroff or reboot with a warning message.

Common flags
FlagMeaning
-hHalt / power off
-rReboot
-cCancel a scheduled shutdown
nowImmediate (argument)
Examples
shutdown -r +5 "maintenance"Reboot in 5 minutes · explain & risk-check →
shutdown -cCancel · explain & risk-check →
Related
reboot systemctl
Open the full explainer →More in System & Processes

Reference text is hand-written and may be incomplete — check man shutdown for your version. Test destructive commands on a non-production system first.