laptop-sleep
Category

Make your mac never go to sleep

Suppose you have an old mac and you just want to make it a file-sharing server, and you just don’t want to open the lid and still want it to be in the ON state.

To make this happen you just need to run the following command in your terminal.app

sudo pmset -a disablesleep 1

then put in your system password. And if you want to disable this use the below command.

sudo pmset -a disablesleep 0

Leave a Reply

Your email address will not be published. Required fields are marked *