Saving shell sesions using screen
- To start a new session using screen 'screen'
- To create new terminal with in screen 'ctrl + a, c'
- To switch between terminals in a screen use 'ctrl + a, n' for next, 'ctrl + a, p' for previous.
- To detach a screen and return to regular terminal 'ctrl + a, d'
- List all the screen sessions 'screen -ls'
- Connecting to a detached screen. 'screen -r <screen-name>'
- If a session is active and you don't have access to it, try detaching it first and reconnecting.