The screen command
screen manager with VT100/ANSI terminal emulation 3 examples from the lessons of the IVski Linux Playground — try them in the terminal next to them.
Options in the examples
-ls [match]- does not start screen, but prints a list of pid.tty.host strings and creation timestamps identifying your screen sessions.
-r [pid.tty.host]- resumes a detached screen session.
-S sessionname- When creating a new session, this option can be used to specify a meaningful name for the session.
Examples
screen -S workStart named session
screen -lsList sessions
screen -r workReattach