Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Any way to put OS X to sleep via Terminal?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="kjb" data-source="post: 1656080" data-attributes="member: 299506"><p>Use 'pmset' -- Do a 'man pmset' for full options... </p><p></p><p>So, to put your system to sleep via CLI, in terminal:</p><p></p><p></p><p></p><p>This is more straight forward than mucking about with osascript (though I do enjoy discovering more and more and more osascript trickery!).</p></blockquote><p></p>
[QUOTE="kjb, post: 1656080, member: 299506"] Use 'pmset' -- Do a 'man pmset' for full options... So, to put your system to sleep via CLI, in terminal: This is more straight forward than mucking about with osascript (though I do enjoy discovering more and more and more osascript trickery!). [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Any way to put OS X to sleep via Terminal?
Top