First time I used my MacBook Pro I haven’t got why there is no hibernate option!!!

After searching the web I found this article: http://www.geeked.info/make-my-macbook-pro-hibernate/ which helped me a lot understanding Hibernate Modes in MacBook Pro :)

The solution he provided is really great but actually I use the sleep option more than the hibernate one and I prefer to get the hibernate option when only I want to hibernate. So I find it silly to type everytime I want to hibernate “hibernateon”, putting my MBP into hibernate mode and after startup I have to type “hibernateoff” coz I don’t need hibernate option next time!!!

So simply I made a new command called “hibernate” which satisfy my needs :D

The command simply turn hibernate on and then parrallel execute shutdown and turn hibernate off :)

All you have to do is to add the follwoing line to the .bash_profile file that is located in /Users/YourUserName/

alias hibernate="sudo pmset -a hibernatemode 5; sudo shutdown -s now && sudo  pmset -a hibernatemode 3"

Then execute the following command in the terminal

source .bash_profile

Now whenever you want to hibernate, just type hibernate in the terminal ;)

  1. Polprav says:

    Hello from Russia!
    Can I quote a post in your blog with the link to you?