Restart Linux server using SSH in any hosting plan with root access

If you have a web hosting plan which allows you to restart your linux server. (Most likely you have dedicated server or VPS hosting), you can follow the instruction below to restart your server.