Created
October 19, 2011 11:49
-
-
Save mvrilo/1298070 to your computer and use it in GitHub Desktop.
put mac os x to sleep
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| osascript << EOT | |
| tell application "System Events" | |
| sleep | |
| end | |
| EOT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment