How to Stop Your Mac From Sleeping with Caffeinate (Terminal)
To save the Mac’s battery life and reducing energy usage as much as possible, many people would choose to set a sleep mode and make the Mac sleep after they doing not touch the machine for a certain time. However, there are sometimes people don’t want the Mac to sleep, especially like they are watching a movie or doing other jobs which do not need to touch the computer frequently, in this circumstance, the Mac will allow you to stop the sleep mode temporarily with a terminal command, caffeinate. (more…)