On a Raspberry Pi (running Raspberry Pi OS or most Linux distros), you can reboot from the terminal with:
sudo reboot
Alternatives
- Using shutdown command:
sudo shutdown -r now
- Schedule a reboot (e.g., in 5 minutes):
sudo shutdown -r +5
Notes
sudois required because rebooting needs administrator privileges.- Make sure you’ve saved any work before running the command.