sudo pmset -a sleep 0
pmset command is to manipulate power management settings.
-a specifies that the setting applies for all conditions (power & battery)
sleep configure system sleep timer
0 to disable
-a specifies that the setting applies for all conditions (power & battery)
sleep configure system sleep timer
0 to disable
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.