I have got Raspberry Pi 2 Model B v1.1 with NOOBS v1.4.2 Raspbian loaded.
What is the difference between
$ sudo reboot
typing in terminal?
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.Sign up to join this community
sudo before a command runs the command as if you were the user
root. Some commands require to be run as
root because it is the highest user by default. When you run
sudo reboot you are running
root. If you just type
reboot you are running
reboot from your current user, which may not have the necessary permissions to enter system commands like that.