Ubuntu – How to detach a screen session from a terminal

command linegnu-screen

I know how to start a screen, and how to list different screens:

screen -ls

or to attach:

There are screens on:
        2477.pts-0.server1      (Detached)
        2522.pts-0.server1      (Detached)
2 Sockets in /var/run/screen/S-root.

$ screen -r 2477.pts-0.server1

But what is the key combination to detach from a screen session and keep it running?

Best Answer

Ctrl+a followed by d. Note the lower case. The [screen manpage] has a long list of these shortcuts under "DEFAULT KEY BINDINGS".