Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

its93rc

macrumors 6502a
Original poster
Feb 8, 2012
546
527
Texas
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. :)
 
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.
 
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.