Screen
From MyWiki
Reference: http://www.rackaid.com/blog/linux-screen-tutorial-and-how-to/
Create a seccion : screen -S sessionname
To create a new interactive shell, press Control-a c
To switch between shells, press Control-a # where # is the number of the shell. For example, to switch to shell number 1, press Control-a 1
screen -d -R sessionname will resume a session that you started in a different location.
Control-a ? will give help inside of screen.
You can detach from the window using “Ctrl-a” “d”.
If your connection drops or you have detached from a screen, you can re-attach by just running: screen -r