Linux Administration - Terminals

Screen
~> .screenrc Default file used to customize screen settings.

> screen -c $HOME/.screenrc.blah Start screen using the specified startup configuration file.

> screen -d -m -S myterm1 The above screen command has created a new detached screen session named myterm1.

> screen -ls There is a screen on: 6506.myterm1 (Detached) 1 Socket in /tmp/uscreens/S-steved. This command lists my available screen sessions.

> screen -r myterm1 This command attaches to the screen session named myterm1.

> screen -x myterm1 This command attaches to the screen session named myterm1, if there are already others attached to it.

CTRL-a ? See a list of available screen commands.

CTRL-a _ CTRL-a M Monitor session for 30 seconds of silence.
Monitor session for 30 seconds of silence.

CTRL-a P Flip to previous attached session.

CTRL-a N Flip to next attached session.

CTRL-a SHIFT-a Name current window.

CTRL-a " List of current attached session window names.

CTRL-a K Kill current window.

CTRL-a \ Quit screen and exit all windows.

CTRL-a d Detach current screen session.