Possibly the most useful tool ever if you do a lot of remote computing. Here’s a quote from Wikipedia:
GNU Screen is a free terminal multiplexer developed by the GNU Project. It allows a user to access multiple separate terminal sessions inside a single terminal window or remote terminal session. It is useful for dealing with multiple programs from the command line, and for separating programs from the shell that started the program.
I use it mostly for running command line utilities that take forever to run (e.g. academic programs that do “work” for me). This allows me to remotely log in, start screen, start a program, detach screen, and log out. When I come back to check on how the program is running, I can log back in, attach an already running screen, and check on it again. Once I am done then I detach.
Here are useful commands:
>screen, starts a screen session on the host.
>screen -r, reattaches to a previous session.
>screen -r blah.host, reattaches to a speciļ¬c previous session.
>exit, destroys the current screen session.
>screen -x, attach to a non detached screen.
In addition, you can hit CTRL+a and type one of the following to send specific commands to screen:
c, create new screen.
n, next screen.
A, rename screen.
d, detach screen.
", lists screens. Interactive.
0-9, select certain screen.