how to rename a screen session code example Example: rename screen session screen -S 8890.foo -X sessionname bar