screen do?terminal multiplexer — detachable sessions that survive logout.
▸ Explain your own screen command →$ screen -S work
$ screen -r
$ screen -dm long-job.sh
| -S | name the new session |
| -r | reattach to a detached session |
| -R | reattach if possible, otherwise start a new session |
| -d | detach a session (with -r, detach elsewhere then reattach) |
| -D | detach and log out the remote session, then reattach |
| -x | attach to a session that is not detached (multi-attach) |
| -m | force a new session even when one exists (with -d = detached) |
Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.