How to Restart Ubuntu via Terminal


Problem: I’m running my websites on a Digital Ocean droplet and every time I remote in via ssh, it says that I need to restart Ubuntu in order to complete an update. How do I restart Ubuntu?

Solution: Simple, remote into your machine and type:

sudo shutdown -r now

Sources: