Sleep Mode Terminal?

Discussion in 'MacBook Air' started by its93rc, Oct 1, 2014.

  1. its93rc macrumors 6502

    its93rc

    Joined:
    Feb 8, 2012
    Location:
    Austin, Texas
    #1
    Hey,

    Does anyone know how to revert a terminal command? Someone entered a command 'they don't remember' on terminal, and now my Mac does not go into sleep mode. It automatically powers off after being closed for x amount of time.

    Anyone know a workaround?

    Thanks in advance. :)
     
  2. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #2
    Open Terminal and hit the up arrow repeatedly until you see the command that was used (command history) and post it here. Then maybe we can figure out what was done and how to undo it.
     
  3. GeekGuys macrumors regular

    Joined:
    Mar 13, 2009
    #4
    Mac OSX is basically Unix so 'most' Linux-type commands work.

    Open Terminal
    type history

    this will list all commands entered at the console. Find the one that looks like a change to a plist or turning a service off (e.g. launchctl or invoke-rc)

    Hope this helps
     

Share This Page