Tmux is a terminal multiplexer and if you never used it you really have to try it.
It changed my life, to be honest.
Long story short: it allows you to have multiple terminal sessions at the same time and to keep your session alive and working also if you disconnect from a *nix server.
You want more detail about multiplexing?
Thank you, WikiPedia: