How to Prevent & Disable Mac OS X From Sleeping From the Command Line Terminal Application

Posted on in Categories , , , last updated August 31, 2015

I‘m running a process to complete backup and covert images in Mac OS X laptop. I do not wish to disable sleep manually from my OS X power options (Energy Saver). How do I temporarily prevent a Mac from sleeping while my process is still active in Mac OS X Unix operating systems? How can I prevent the system from sleeping temporarily from the command prompt?

Apple OS X: Install X Window System XQuartz For SSH X11 Forwarding On a Mavericks or Yosemite

Posted on in Categories , , , , last updated May 5, 2015

I need to tunnel X Window securely over SSH bases session so that I run X program on my remote Linux/Unix server/workstation and get back display to my Apple Macbook pro laptop. I tried the ssh -X [email protected] and ssh -Y [email protected] commands on both OS X Mountain Lion and Apple OS X Mavericks/Yosemite. But, I am unable to use the ssh command with X11.

How do I fix this problem on OS X and enable X11 forwarding with ssh command? How do I install XQuartz ( server on Apple OS X Mountain Lion or Mavericks or Yosemite?