- Restart nowNeeds sudo
sudo shutdown -r now - Shut down nowNeeds sudo
sudo shutdown -h now
- Restart nowNeeds sudo
sudo reboot - Shut down nowNeeds sudo
sudo shutdown now
- Restart now
Restart-Computer - Shut down now
Stop-Computer
Restart or switch off your machine, or a server you're logged in to, with one command.
sudo shutdown -r nowsudo shutdown -h nowsudo rebootsudo shutdown nowRestart-ComputerStop-Computer