Linked by Thom Holwerda on Wed 11th Feb 2009 22:32 UTC
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.
Permalink for comment 349378
To read all comments associated with this story, please click here.
by backdoc on Mon 16th Feb 2009 23:23 UTC
in reply to "Awesome "
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.
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.