Logout, Restart and Shutdown are all self explanatory to me.
What are the differences between Suspend and Hibernate on the shutdown menu?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communitySuspend does not turn off your computer. It puts the computer and all peripherals on a low power consumption mode. If the battery runs out or the computer turns off for some reason, the current session and unsaved changes will be lost.
Hibernate saves the state of your computer to the hard disk and completely powers off. When resuming, the saved state is restored to RAM.
The power-management scripts use these terms:
Bonne chance.
Logout: Stops user applications specific to users.
Shutdown: Completely power off your system viz. PC, laptop.
Restart: Power off and then start again.
Suspend/sleep: Put your computer at very low power state, screen off but everything else is on but at very low power so that you can resume your work where you left off but if battery die you loose all your unsaved data.
Hibernate: suspend to disk; includes power-off, looks like shutdown. Basically, everything in the Ram is copied to swap memory and system shutdown completely. when you start your computer back everything copies back to Ram and you continue where you left off.
Try this command:
pm-suspend-hybrid
Hybrid-suspend is the process where the system does everything it needs to hibernate, but suspends instead of shutting down. This means that your computer can wake up quicker than for normal hibernation if you do not run out of power, and you can resume even if you run out of power.
This is a very old thread, and although it is not asking for how to do either suspend or hibernate, I think it is one of the reasons some people land in this question.
At the time of writing (August 2023) pm-XYZ
commands are obsolete and systemctl XYZ
commands are to be used.
So, complementing the accepted answer with man systemctl
:
systemctl suspend
systemctl hibernate
systemctl suspend-then-hibernate
--> This is exactly what @oxwivi commented to the original post.