Stephen Gilmore

Caffeinate your mac

Nov. 11, 2023 #Etc #MacOS

Today I learned a one-liner to keep a Mac from sleeping. It's pretty useful for presenting and overly aggressive IT policies.

Pop open the terminal and then type in:

caffeinate -disu

Ctrl + c to exit.