HOWTO: rename screen session

less than 1 minute read

Within screen:

C-a :sessionname newSessionName

where C-a is Ctrl-a

Without attaching a screen session:

$ screen -X sessionname newSessionName

If you have multiple screen running you have to specify which one to rename:

$ screen -S sessionToRename -X sessionname newSessionName

Comments