restart ubuntu with command line code example
Example 1: ssh restart ubuntu
sudo service ssh restart
Example 2: restart server centos
reboot -h now
Example 3: centos reboot
shutdown -r now
sudo service ssh restart
reboot -h now
shutdown -r now