System and processes

The reboot command

Restarts the machine immediately.

Syntax

sudo reboot

Copy-ready examples

$ sudo rebootRestart the machine

You can try them in the browser terminal: it does not touch your computer.

Typical mistakes

  • Rebooting without saving can lose unsaved work.

Related commands

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