ubuntu 20.04 休眠
时间: 2023-10-13 11:07:04 浏览: 164
ubuntu20.04文件
在Ubuntu 20.04中,您可以通过执行以下命令禁用自动休眠功能:
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
这将阻止系统在空闲一段时间后自动进入休眠状态。<span class="em">1</span>
#### 引用[.reference_title]
- *1* [ubuntu 20.04 禁止自动休眠](https://blog.csdn.net/superjunenaruto/article/details/116088928)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文