How do I shutdown my machine using terminal?

Posted June 20, 2015 4k views

I will be grateful.

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.

Submit an Answer
1 answer

In case of droplet, linux,

I use shutdown -h now

I guess one has to have sudo permission for running the said command..