rename the screen session code example Example: rename screen session screen -S 8890.foo -X sessionname bar