how to restart centos 7 in putty command code example Example 1: restart server centos reboot -h now Example 2: centos reboot shutdown -r now