Put 'nix box to sleep from command line?
Solution 1:
2014 update :
systemctl suspend
should work on all OSs using systemd.
Old version :
/etc/acpi/sleep.sh
or pm-suspend
.
2014 update :
systemctl suspend
should work on all OSs using systemd.
Old version :
/etc/acpi/sleep.sh
or pm-suspend
.