How do I open a shell by default in my emacs' init file?

Solution 1:

I just put (shell) to the end of my .emacs file and it opens right after emacs start up.