Byobu – a shell that allows you to run several programs in one session, disconnects from the server and continue working with open programs the next time you connect.
On a Ubuntu system, the following command installs:
sudo apt-get install byobu
It is started by the command:
byobu
Help on the commands can be obtained by typing:
help
Here is a list of some hot keys:
F2 (create a new window)
F6 (disconnect from current session)
F7 (copy mode)
F8 (window rename)
F9 (Settings menu, right there you can get help on key combinations)
Alt + up arrow (switch to the next session)
Alt + down arrow (switch to the previous session)
See also my article:
How to install and use Screen