Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Suspend/Hibernate operation from comandline (Read 2907 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Suspend/Hibernate operation from comandline

Hello all.

I am wondering how I can suspend/hibernate my system from command line.
I mean if in artix linux exist some commands, which helps suspend hibernate system.

I know that I can perform this operation in low level way by putting content to /sys/power/state

Is this only one way of doing this?

Re: Suspend/Hibernate operation from comandline

Reply #1
You can use loginctl. See man loginctl for details.

As for hibernation, you may want to read ArchWiki's entry about it.
now only the dinit guy in artix

Re: Suspend/Hibernate operation from comandline

Reply #2
Thanks you a lot for answer! :)