质量为本、客户为根、勇于拼搏、务实创新
linux怎样设置不休眠
要设置Linux不休眠,可使用以下方法:
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
这会禁用所有休眠和挂起功能。
请注意,此设置可能需要root或管理员权限才能更改。
TOP