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?
You can use loginctl. See man loginctl for details.
As for hibernation, you may want to read ArchWiki's entry about it (https://wiki.archlinux.org/index.php/Power_management/Suspend_and_hibernate#Hibernation).
Thanks you a lot for answer! :)
Also, laptop-mode-tools from the AUR (https://aur.archlinux.org/packages/laptop-mode-tools/) provides the pm-suspend and pm-hibernate commands.