This is an old revision of the document!


Screen command allows many cool things with the terminal such as:

  1. screen sharing with remote people / users
  2. splitting of terminal into multiple shells
  3. running executables even if terminal connection is lost

Following are some of its options (from cmd line)

screen              ; start an instance
screen -r           ; reattach to an already running instance
screen -r <pid>     ; reattach to a particular running instance (you may accidently have many)

Following are some of its commands (once running screen)

Ctrl-a c            ; create a new console
Ctrl-a Ctrl-\       ; Kill all windows and exit

Ctrl-a "            ; list existing screens in a menu (can use up/down arrows to select)
Ctrl-a <num>        ; Switch to a screen, where <num> is the number of the screen
Ctrl-a Ctrl-a       ; Switch to prior screen

Ctrl-a S            ; Split screen (regions); do it again to keep splitting
Ctrl-a tab          ; move between splits
Ctrl-a X            ; close a split (region)

Ctrl-a s            ; freeze screen
Ctrl-a q            ; unfreeze

Ctrl-a d            ; detach from screen, but doesnt now close screens

 
technology/unix/screen.1239748991.txt.gz · Last modified: 07.29.2009 16:22 by nyeates1
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki