screen command is very helpful if you want to have multiple shells running in one terminal window. Also, it can help you run a program persistently (even if a terminal window breaks or closes).
Create a session. You can easily exit current session by
Ctrl -a dor terminate a session by
Ctrl -r d
List all sessions you have
$ screen -ls
Reattach a session
$ screen -r sessionName