Linux: Command Line to {Shutdown, Restart, Sleep, Hibernate}

, ,

Shutdown & Restart

You need to be root. So, add sudo in front.

Sleep, Suspend, Hibernate

man pm-suspend to see its doc.

What's the Difference Between Sleep and Hibernation?

Sleep mode, also known as Suspend, Standby, puts your laptop to a low power mode to save battery consumption. What it does is like a “pause”. The monitor is turned off, and RAM (memory) chip gets minimal power to sustain its data. Computer can quickly resume from sleep mode.

Hibernation mode saves more energy. It is similar to a complete power off. It saves RAM (memory) content to disk, and powers down spinning hard disk. However, hibernation takes longer time to wake up.

blog comments powered by Disqus