DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Put Computer On Standby (linux)

04.03.2005
| 11121 views |
  • submit to reddit
        Run as root:

#Software suspend
echo 4 > /proc/acpi/sleep

#umount and mount all devices
umount -a -r
mount -a
    

Comments

Dan Rios replied on Wed, 2013/05/01 - 11:25am