How to reboot your Digital Ocean droplet through the command line

Quick code snippet because I always forget how to do this. SSH to your Digital Ocean droplet and type the following command to do a reboot:

  sudo shutdown -r now