Change energy saver prefs from Terminal?

Discussion in 'macOS' started by rotlex, Feb 13, 2008.

  1. rotlex macrumors 6502a

    May 1, 2003
    Anyone know how I might be able to change the energy saver prefs on a system from the command line\terminal? I forgot to tell my machine NOT to sleep at all before leaving for a short business trip, and access thing on it via SSH. It sleeps overnight, and I'll be in the office during some of those hours and would like to be able to get to it.

    Any input, or eh, the commands to do it would be greatly appreciated!
  2. DoFoT9 macrumors P6


    Jun 11, 2007
  3. slothbear macrumors newbie

    Mar 10, 2009
    My thanks as well.

    My integrated graphics card usually displays black -- and sometimes the system reverts to it. I'm using this command to create an applescript to switch graphics cards. Hm, I just realized I have to script a logoff too. I'll be back. :eek:

Share This Page