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