12

What command suspends an appropriately configured Arch Linux system?

User story: It's now or never. I'm on the run. I don't have time to read ArchWiki/Power_management/Suspend_and_hibernate but I want to be energy-efficient. How do I suspend Arch Linux before I miss my appointment?

Note: This question exists because Arch Wiki isn't straightforward the way StackExchange is and because it's a command (or a list of commands?) that is rarely used, making it hard to remember.

11

What command suspends an appropriately configured Arch Linux system?

systemctl suspend

You might have to use sudo. There might be other ways, depending on the configuration. If anybody is willing to extend or re-answer with a complete list of what kind of one-liner commands achieve this commonly on Arch Linux systems, that'd be great to all other energy-economic people on the run for that important meeting.

| improve this answer | |
10

If you look under the section System Commands in the man-page for systemctl, you'll see the various options that are system related.

A brief list is as follows for different modes:

  • # systemctl default
  • # systemctl rescue
  • # systemctl emergency

Then, suspensions and the likes of which:

  • # systemctl halt
  • # systemctl poweroff
  • # systemctl reboot
  • # systemctl suspend
  • # systemctl hibernate
  • # systemctl hybrid-sleep

For more information regarding the system commands, you're recommended to read the man-page.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.