reboot linux box code example
Example 1: restart server centos
reboot -h now
Example 2: restart terminal command line ubuntu
#To reset Terminal:
$ reset
#To rerun/restart your bash.rc
$ source ~/.bashrc
#To Restart your computer
$ reboot
reboot -h now
#To reset Terminal:
$ reset
#To rerun/restart your bash.rc
$ source ~/.bashrc
#To Restart your computer
$ reboot