Child pages
  • How-to: Using screen or tmux to preserve a Linux terminal session

Versions Compared

Key

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

...

When connecting to our systems (head, headnode7, lmm, etc.) via PuTTY, or terminal in mac when there is a disruption in the ssh connection, you will see a "Broken Pipe" error and loose access to any programs that were running, without being able to recover them. Screen and tmux allow you to "detatch" a session (i.e. keep it running in the background), and move on to another task in the same terminal window, or disconnect from the machine and let your code keep running

Basic Linux Screen Usage

...