Skip to main content
1 of 4
clt60
  • 8.4k
  • 9
  • 48
  • 74

In the Mountain lion you can use, the caffeniate command.

caffeinate -u -t 1000 

will prevent sleep for 1000 seconds.

clt60
  • 8.4k
  • 9
  • 48
  • 74