Prevent a Mac from sleeping from the command line
I came across another really simple way to do this, using the pmset command. Just run this command in terminal:
Terminal will display the following text:
Preventing idle sleep (^C to exit)...
To allow the Mac to go back to sleep, according to its current Energy Saver settings, just press Control-C.
via MacOSXHints.com http://hints.macworld.com/article.php?story=20130620032443758Last Update:
Accomplished professional with over 20 years of IT experience and track record in leading initiatives pertaining Cloud Technologies and SaaS. Strong capacity for understanding and effectively communicating technology being utilized to internal and external audiences. Solid background in Sales Engineering and Consulting in both Global and Domestic markets.