Brainstorm's snippets (1/285)

  Prevent Mac from falling asleep

The caffeinate command in terminal keeps the Mac from falling asleep.

For indefinite:

caffeinate

For a specific time, eg 5 hours:

caffeinate -i -t 18000