screen -d -r <identifier>

Reattach a session and if necessary detach it first

Arguments

NameDescription
identifier