from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Local manpage: screen
From outside screen:
screen -Rreconnects to the most recently-created session.
screen -lslists the available sessions.
screen -r <pid.tty.host>reconnects to the specified session (note: .host is optional)
- If Screen refuses to connect to a specified session, that may be because it's already "attached" – use
screen -r -d <pid.tty.host>to detach it first if necessary.
From within Screen:
[CTRL-A] ddisconnects (detaches) from the current session (but does not end it)