Skip to main content

In Mountain Lion you can use the caffeinate command.

caffeinate -u -t 1000 

will prevent idle sleep for 1000 seconds.

clt60
  • 8.4k
  • 9
  • 48
  • 74