Is there a way to suspend/sleep via bash?

Posted by Brett Alton on Ask Ubuntu See other posts from Ask Ubuntu or by Brett Alton
Published on 2011-01-10T16:22:34Z Indexed on 2011/01/10 16:58 UTC
Read the original article Hit count: 277

Filed under:
|
|
|

I have to get nine 46" LCD monitors (running Windows) to suspend/sleep at 8pm and wake at 8am every morning. It's been a bit of a mess trying to get the commands working, including the privileges. Since I'm an Ubuntu user first and foremost, I'm wondering how easy this would be in Ubuntu/Linux.

I know cron would be able to run my suspend/sleep command at 8pm (what is the suspend/sleep command anyway?), but what about waking the machine up at 8am without using Wake-on-Lan or manual intervention?

© Ask Ubuntu or respective owner

Related posts about bash

Related posts about hibernate