System and processes
The reboot command
Restarts the machine immediately.
Syntax
sudo rebootCopy-ready examples
$ sudo rebootRestart the machineYou can try them in the browser terminal: it does not touch your computer.
Typical mistakes
- Rebooting without saving can lose unsaved work.
FAQ
Difference from shutdown -r?
reboot is immediate; shutdown lets you schedule and warn.
Learn to actually use it
The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.
Start the free course