Screen

From Grid5000
Revision as of 16:39, 3 July 2019 by Pneyron (talk | contribs)
Jump to navigation Jump to search

screen is a screen manager with VT100/ANSI terminal emulation.

Basics

  • Start a screen session (creates a single window with a shell in it):
screen
  • OR start a command in a screen session:
screen command
  • Invoke a screen control command (it consists of a "Ctrl + a" followed by one other character):
C-a <command_char>

Basics screen commands are :

C-a C-c : Create a new window with a shell and switch to that window.
C-a "   : Present a list of all windows for selection.
C-a A   : Allow  the  user to enter a name for the current window.
C-a C-k : Kill current window

Further options are available in the man pages.

  • Detach from this screen terminal (program continues to run when its associated screen session is detached):
C-a d : Detach screen from this terminal.
  • Reattach a session (brings foreground a previously detached session):
screen -r
  • Invoke a screen customization command (used to set options):
C-a : <customization_command>
Note.png Note

A $HOME/.screenrc file can be use to systematically setup the multiuser mode variables multiuser and acladd. One is provided in the svn repository: screenrc, save is in your home directory as ~/.screenrc