Linux Commands Helper
💬 Your AI-powered Linux assistant
reboot Command - Restart the System
The reboot command is used to restart the system. It can be invoked directly or as a symbolic link to shutdown
or systemctl
on modern systems.
Syntax
reboot [options]
Examples
reboot
Reboot the system immediately.
reboot -f
Force an immediate reboot (not recommended unless necessary).
systemctl reboot
Recommended way to reboot on systemd-based systems.
Notes
- Requires root privileges to execute.
- On systemd systems,
systemctl reboot
is preferred. - Warns all logged-in users before rebooting (unless forced).