Deep sleep keyboard shortcut

I have been a windows user for a long time now and I have been used to pressing just one key in my keyboard to hibernate the machine every night. I recently bought a mac mini and I press Shift + Command + Eject to put it to sleep and then it would go to deep sleep in a while. But I am wondering if there is a keyboard shortcut to do this or maybe change the default sleep to a deep sleep.

Mac mini late 2012 with standard HDD, i5, 4gb ram


Solution 1:

The two keyboard shortcuts for sleep: Display sleep: Shift+Control+Eject Computer sleep: Command+Option+Eject

Source: http://support.apple.com/kb/ht1343

To change the default sleep mode to hibernate (in the terminal):

sudo pmset -a hibernatemode 25

I don't think there's any way to preserve the normal sleep behaviour and have a separate keyboard shortcut for hibernation without writing a script that changes to hibernate mode when called and changes it back after, somehow, but this command does work on my MBP. There's a number of options for sleep that you can see with:

man pmset