Difference between revisions of "Screen GNU"
From MS Computech
Line 1: | Line 1: | ||
− | Start screen<br> Type screen in the terminal<br>Detach from a screen session (session remains open) | + | Start screen<br> Type screen in the terminal<br>Detach from a screen session (session remains open) |
− | + | <pre>Ctrl+a d</pre> | |
+ | <br>Reattach to an open screen session | ||
+ | <pre>screen -D -R</pre> | ||
+ | <br>Quit screen completely (session closed) | ||
+ | <pre>Ctrl+a Ctrl+\ </pre> | ||
Controlling windows | Controlling windows | ||
− | Create a new window with a shell and switch to it: | + | Create a new window with a shell and switch to it: |
− | + | <pre>Ctrl+a c</pre> | |
+ | <br>List currently open windows for selection: | ||
+ | <pre>Ctrl+a "</pre> | ||
+ | <br>Close current window: | ||
+ | <pre> Ctrl+a k </pre> | ||
Controlling Regions | Controlling Regions | ||
Using regions allows you to display more than one shell on your terminal. | Using regions allows you to display more than one shell on your terminal. | ||
− | Split the current region into 2 new ones (note: new region will be blank, you need to switch to it then select a window to display in it): | + | Split the current region into 2 new ones (note: new region will be blank, you need to switch to it then select a window to display in it): |
+ | <pre> Ctrl+a S</pre> | ||
+ | <br>Switch focus to the next region: | ||
+ | <pre> Ctrl+a TAB</pre> | ||
+ | <br>Remove the current region: | ||
+ | <pre> Ctrl+a X </pre> | ||
+ | That should be enough to get started<br> | ||
+ | |||
+ | |||
− | + | [http://munckfish.net/blog/archive/2006/07/18/howto-screen-command-quickstart/ Source] |
Latest revision as of 09:57, 17 May 2009
Start screen
Type screen in the terminal
Detach from a screen session (session remains open)
Ctrl+a d
Reattach to an open screen session
screen -D -R
Quit screen completely (session closed)
Ctrl+a Ctrl+\
Controlling windows
Create a new window with a shell and switch to it:
Ctrl+a c
List currently open windows for selection:
Ctrl+a "
Close current window:
Ctrl+a k
Controlling Regions
Using regions allows you to display more than one shell on your terminal.
Split the current region into 2 new ones (note: new region will be blank, you need to switch to it then select a window to display in it):
Ctrl+a S
Switch focus to the next region:
Ctrl+a TAB
Remove the current region:
Ctrl+a X
That should be enough to get started