Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'd like to be able to change settings on my remote computer, like power saving settings, etc. How can I do this via terminal?

Thanks!

Bonus question: will remote login via ssh wake the Mac if it is asleep, or in any way affect the sleep schedule (i.e. will activity through the shell count as wakeful activity as using the GUI directly would, sorry for the incorrect terminology)?

share|improve this question
    
I'll have a play around with my macbook on your bonus q, but but first thoughts are: remote login could wake your mac if it's cabled and you have the wake on network access option selected. If it's on wifi, I don't believe it works, but never actually checked. And I don't think terminal commands will prevent sleep mode from occuring (it definitely doesn't stop dimming), but again, not something I've tested. –  tanantish Jan 11 '13 at 4:39

1 Answer 1

up vote 1 down vote accepted

For the former, sure. It depends on exactly what you want to change, but for example power settings can be accessed using the pmset command (e.g. pmset sleep 20 to set your computer to sleep at 20 mins). Generally it's a case of working out what you want to change, and finding out the relevant shell command.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.