Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. After connecting to a machine from PuTTY, terminal, etc., type

    Code Block
    languagebash
    screen
  2. Run the desired program
  3. Use the key sequence

    Ctrl-a + Ctrl-d

    ctrl ad to detach from the screen session, this will keep it running in the background and return to your main shell

    1. Note, if you do not detach the session, you can restore if the connection drops by reconnecting and running screen -r
  4. To see a list of active screen sessions, type

    Code Block
    languagebash
    screen -ls
  5. Reattach to the screen session by typing

    Code Block
    languagebash
    screen -r [your session id here]

...