Change energy saver prefs from Terminal?

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

  1. rotlex macrumors 6502a

    Joined:
    May 1, 2003
    Location:
    PA
    #1
    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

    DoFoT9

    Joined:
    Jun 11, 2007
    Location:
    Singapore
    #3
  3. slothbear macrumors newbie

    Joined:
    Mar 10, 2009
    #4
    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