restart linux server code example
Example 1: command to restart linux
sudo reboot
Example 2: restart server centos
reboot -h now
Example 3: restart computer command linux
$ sudo shutdown -r now
Example 4: restart terminal command line ubuntu
#To reset Terminal:
$ reset
#To rerun/restart your bash.rc
$ source ~/.bashrc
#To Restart your computer
$ reboot
Example 5: reboot server linux
sudo shutdown –r
or
sudo reboot