Question

Where can I find command line tool to shut down droplet?

Many advised that I discovered, to power off droplet via command line - noob question (as I’m a beginner)…where can I find the command line tool?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

You’ll be able to create a new droplet that uses the backup so that you’ll have the exact same server (but DigitalOcean is capable of reconfiguring the server for a new IP, Hostname, and Password).

If you want to put this site on a different server sooner, you’ll need to do a snapshot (requires temporarily powering off the server).

Hey!

For starters, in the Dashboard. Look on the right side of your droplet that says “More”, click on it and you’ll find “Access Console”. This is one direct way of accessing the server’s command line.

If you want to shut down the server via CLI (Command Line Interface), enter this command. Using the command from the dashboard though will not let you copy and paste versus using SSH. Which is something you may need to look up later on.

shutdown -h now

This is not the only command to shutdown the server, but this is one of the safest as there are other options such as the one from the dashboard that basically either forces the server to power off or restart.