Reboot Linux from the Command Line
To reboot your Linux computer using the command line or terminal, simply type:
reboot -h now
You will most likely need to be the root user or use the sudo command:
sudo reboot -h now
You can also shut down your computer from the command line.