ponedeljek, 24. september 2012

suspend/hibernate from command line

If you want to put your computer to hibernate from command line you have several options:
  1. echo disk | sudo tee /sys/power/state
  2. pm-hibernate
  3. pmi action hibernate #have to do sudo apt-get install powermanagement-interface before using it
If you want to put your computer to suspend from command line you have several options:
  1. echo mem | sudo tee /sys/power/state
  2. pm-suspend
  3. pmi action suspend #have to do sudo apt-get install powermanagement-interface before using it
Objavite komentar