Using screen on my raspberry pi so that I don't lose sessions when disconnected.
Found a good tutorial:
http://www.rackaid.com/blog/linux-screen-tutorial-and-how-to/
Install screen:
sudo apt-get install screen
Start screen:
screen
New window:
Ctrl+a, c
Previous/next window:
Ctrl+a, p/n
Detach screen:
Ctrl+a, d
Reattach to screen:
screen -r
Help:
Ctrl+a, ?