Linked by Thom Holwerda on Wed 11th Feb 2009 22:32 UTC
General Unix If you've spent hours on a task, such as debugging an application, it can be maddening to lose your work in an instant. This article shows you how to keep your shell and your work alive, even across multiple sessions and dropped connections using GNU Screen. Screen is a remarkable tool that you will quickly find invaluable in any work you perform on the command line. In fact, use it once, and you will wonder how you ever lived without it.
Thread beginning with comment 348504
To read all comments associated with this story, please click here.
Awesome
by Dr-ROX on Thu 12th Feb 2009 17:09 UTC
Dr-ROX
Member since:
2006-01-03

I always wanted something like this, once tried screen, but had to little patience to read the manual. So I got stuck. This article revived that idea and now I'm screen's fan. Especially split window mode and copy/paste.

Reply Score: 1

RE: Awesome
by backdoc on Mon 16th Feb 2009 23:23 in reply to "Awesome "
backdoc Member since:
2006-01-14

Pick 3 or 4 things to use. It can be overwhelming to try to learn everything. Here's my favorites:

While in screen:
Ctrl+c (create new session)
Ctrl+A (rename session)
Ctrl+" (show list of current sessions)
Ctrl+a,Ctrl+a (switch between current session and last one)

From the shell:
screen -ls (show current screen processes)
screen -dr <process> (detach then reattach to "process")

If you just get used to using these, they will pay dividends. I'll bet that there are more that I would love, if I knew them. But, I just stick with a few favs and they work for me. If you use the command line (which you should), you'll be amazed how these few commands will increase your productivity and satisfaction.

Good luck.

Reply Parent Score: 2