Linux Terminal
System
Dangerous Linux with systemd
Restart the computer in Linux Terminal
Asks systemd to reboot. On non-systemd systems use sudo reboot.
Template
sudo systemctl rebootComplete example
$ sudo systemctl rebootDestructive: it can delete data or stop running processes, and there is no undo. Copying puts it on your clipboard — it runs on a real system only when you paste and press Enter there. The practice terminal is a simulator and never touches your machine.
Where it runs
Supported environments
Linux with systemd
Requires: systemd-based distributions; sudo privileges.
Expected output
Not documented yet on this page.
Verification status
Checked against official documentation — documentation reviewed on 2026-11-22. Syntax, options and requirements were reviewed against the linked official documentation. Not executed.
Documentation link last checked on 2026-11-22 (reachable).
Limitation: Documentation-only: this environment has no Windows, macOS, systemd, Docker, package-manager or network target to execute against safely.
AI insights for this command
Get a plain-English explanation, expected output, common errors + fixes, safer alternatives, and best practices — generated for this exact command.
Free account — the reference below stays open to everyone.
Safer alternative
sudo shutdown -r +1 schedules the restart in 1 minute and warns logged-in users.