Screen instructions

 

To create a session:

screen -S sessionname

To create a new shell, hold down the “Control” key, press and release the ‘a’ key, and then type the letter ‘c’.

You can have 10 interactive shells (numbered from 0 to 9) open in one terminal window.

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.

If you started the session somewhere else, the “-d” option will “detach” it at the other location, and “-R” will reattach your current terminal window to the session.

Control-a ? will give help inside of screen.