To create a named session use:
screen -S testsession
to list all session:
# screen -ls
There is a screen on:
19415.something (Detached)
1 Socket in /var/run/screen/S-root.
to rename an active session use -X sessionname
screen -S 19415.something -X sessionname newname
where:
19415.something | old session name |
newname | new session name |