Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use multiple sessions for different things. One for work, one for school work and one each project I'm working on. It gets really hard to keep track of the sessions when screen -ls returns

11292.pts-0.chu (09/12/11 14:13:49)     (Detached)
7616.pts-4.chu  (09/01/11 10:31:57)     (Detached)
1834.pts-0.chu  (08/31/11 18:32:16)     (Detached)
1810.pts-0.chu  (08/31/11 18:45:20)     (Detached)

Is there any way I can name my sessions for better control?

share|improve this question
up vote 15 down vote accepted

If you create new session, you can use screen -S <mysession>

In already running session, hit Ctrl-a and type :sessionname <mysession>

share|improve this answer
Your answer was better than mine – Hubro Nov 1 '11 at 22:56

Read the documentation more thoroughly. It seems once I'm in a session I can name it using

screen -S <name>
share|improve this answer
don't forget the -t option, too - allows you to "title" the session, so in addition to a name (say, "www-dev"), you can see in your PuTTY (or similar) title bar something like "CSS reconfiguration" – warren Sep 12 '11 at 18:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .