Using GNU Screen
From D3xt3r01.tk
WHY
Because I find myself sometimes using a slow connection that keeps disconnecting me from whatever I'm doing and I loose my work.
HOW
- screen
o Run a new screen session
- screen -R
o Reattach to a previously detatched session
- Ctrl-a c
o Create a new window.
- Ctrl-a K
o Kill the current window - after confirmation
- Ctrl-a Ctrl-a
o Switch to the other window
- Ctrl-a S
o Split the current window in two.
- Ctrl-a TAB
o Move between split sections of the screen.
- Ctrl-a A
o Give the the current window a name.
- Ctrl-a "
o List all windows - move around to change the window with the arrow keys
Don't for get to read screen's manual