How can I save opened application settings in Mac OS X?
You are looking at two different things.

1) Shutdown and boot - get your same apps as per Linux option - see @Am1rr3zA

2) Hibernate - OSX does this already. Just choose sleep from the apple menu
For more details see Macworld explanation and Apple docs