Linux command
systemctl-hibernate 命令
文本
Copy it and replace filenames, paths, or keywords as needed.
命令示例
Hibernate
systemctl hibernate
Force
systemctl hibernate --force
Example
systemctl hibernate --no-wall
说明
systemctl hibernate hibernates the system by saving the current state to disk (swap) and powering off. When the system is powered on again, it resumes from where it left off.
参数
- -f, --force
- Force hibernation even if inhibitors are present (programs blocking sleep). When specified twice, the operation is executed without contacting the login manager.
- --no-wall
- Do not send wall message to logged-in users before hibernating
- -i, --ignore-inhibitors
- Ignore inhibitor locks when performing the hibernate operation
FAQ
What is the systemctl-hibernate command used for?
systemctl hibernate hibernates the system by saving the current state to disk (swap) and powering off. When the system is powered on again, it resumes from where it left off.
How do I run a basic systemctl-hibernate example?
Run `systemctl hibernate` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -f, --force do in systemctl-hibernate?
Force hibernation even if inhibitors are present (programs blocking sleep). When specified twice, the operation is executed without contacting the login manager.