Stop your Macbook from sleeping when lid closed (CLI)

The caffeinate command is used to prevent a Mac from going to sleep. The simplest way to use this command is to run the following command in the terminal.

Full Article

Leave a Reply