Key

From the command prompt, just run screen. This will give you a new subshell.

Run your desired program

Wiki Markup

Detatch from the screen session using the key sequence *Ctrl-a Ctrl-d* (note that all screen key bindings start with Ctrl-a). This will drop you back to your original shell and display a message "\[detached\]", indicating that the screen session is still running.

You can then list the available screen sessions by running "screen -list"

You can reattach to this screen session by running "screen -r". Once reattached, you will be able to take off where you left off and see any output that was printed to the screen during the time that you were detached. If you have multiple screen sessions, then you can specify the tty name (as displayed by screen -list) as an argument to screen -r to attach to a particular session.