Install Config Wiki

All about installing, configuring and troubleshooting

User Tools

Site Tools


wiki:disable_sleep_suspend_hibernate_ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
disable_sleep_suspend_hibernate_ubuntu [2020/06/06 15:25] – created wikiadmindisable_sleep_suspend_hibernate_ubuntu [2020/06/06 15:31] – [How to Disable Sleep, Suspend and Hibernate on Ubuntu Server 20.04 LTS - 16.04 LTS] wikiadmin
Line 1: Line 1:
-====== How to Disable Sleep, Suspend and Hibernate on Ubuntu Server 20.04 LTS ======+====== How to Disable Sleep, Suspend and Hibernate on Ubuntu Server 20.04 LTS - 18.04 - 16.04 LTS ======
  
-Open a console or terminal and to disable suspend enter:+Open a console or terminal for access to the Ubuntu command line. 
 + 
 +==== To Disable Suspend enter: ====
  
 <code>sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target</code> <code>sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target</code>
  
-To re-enable Suspend enter:+==== To Enable Suspend enter: ====
  
 <code>sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target</code> <code>sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target</code>
wiki/disable_sleep_suspend_hibernate_ubuntu.txt · Last modified: 2020/06/06 17:34 by wikiadmin