Rename screen Session
TL;DR
C-a :sessionname mySessionName |
Details
This is,
- Attach to the session in question.
- Press Ctrl+A.
- Type
:sessionname mySessionName
– yes, the first colon is needed there, no extra spaces. - Type Enter.
Renaming without attaching
Screen's -X
switch lets you rename a session without attaching it.
screen -S 8890.foo -X sessionname bar |