HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

systemctl suspend-then-hibernate — Suspend the system, then automatically hibernate after a period of inactivity. More information: <ht

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandsystemctl suspend-then-hibernateclisuspendautomaticallythensystem
linux

Problem

How to use the systemctl suspend-then-hibernate command: Suspend the system, then automatically hibernate after a period of inactivity. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#suspend-then-hibernate>.

Solution

systemctl suspend-then-hibernate — Suspend the system, then automatically hibernate after a period of inactivity. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#suspend-then-hibernate>.

Suspend the system and hibernate after the configured delay:
systemctl suspend-then-hibernate


Force suspend-then-hibernate (bypass inhibitor locks):
systemctl suspend-then-hibernate {{[-f|--force]}}

Code Snippets

Suspend the system and hibernate after the configured delay

systemctl suspend-then-hibernate

Force suspend-then-hibernate (bypass inhibitor locks)

systemctl suspend-then-hibernate {{[-f|--force]}}

Context

tldr-pages: linux/systemctl suspend-then-hibernate

Revisions (0)

No revisions yet.