Question

I am running multiple screens from one ssh connection, when I list all of the screens via screen -ls the names are not very descriptive and when I have multiple screens it becomes hard to remember what is running on each. Does anyone know how to name these sessions (preferably when creating the screen).

Was it helpful?

Solution

You can make use of the -S flag:

screen -S name_for_this_session

OTHER TIPS

screen -S sessionname

When creating a new session, this option can be used to specify a meaningful name for the session. This name identifies the session for "screen -list" and "screen -r" actions. It substitutes the default [tty.host]

check this http://aperiodic.net/screen/quick_reference for more info...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top