Linux screen Command

Interesting Profiles from Ubuntu

Usage

Start

To start screen, type:

$ screen

Detach

To detach from screen (to return to your original terminal, without exiting screen), press:

Ctrl+A, D

Resume

To resume your detached screen session, type:

$ screen -x

Add

To add a new “screen” to your session, press:

Ctrl+A, C

List

To see what “screens” you have open, press:

Ctrl+A, W

Switch

To switch between screens, press:

Ctrl+A, Screen # (Screen # = 0, 3, etc.)

Name

To give your currently selected screen a name, press:

Ctrl+A, Shift+A

Problems

screen is hung

If one of your screen sessions seems hung/unresponsive, it is usually caused by pressing Ctrl+S (which turns flow control to XOFF). To fix this (set it back to XON), press Ctrl+Q

linux/tips/screen.txt · Last modified: 2011/10/20 16:38 by john
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki