What is screen?
man page: "Screen is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells)." Here is a screen
screen tutorial.
Screen quickref
Most of the data below has been taken from the
screen quick reference.
Shortcuts |
Action
| Shortcut
|
Change to last-visited active window
| C-a C-a (commonly used to flip-flop between two windows)
|
Change to window by number
| C-a <number> (only for windows 0 to 9)
|
Change to window by number or name'
| C-a <number or title>
|
Change to next window in list
| C-a n or C-a <space>
|
Change to previous window in list
| C-a p
|
Split current screen session into two regions
| C-A S
|
Remove current region
| C-a X
|
remove all regions but the current one
| C-a Q
|
Switch between displayed regions
| C-a TAB
|
Create new session in split region
| C-a c
|
Return to a single region
| C-a Q
|
Detach
| C-a d
|
Detach and logout (quick exit)
| C-a D D
|
Enter copy mode
| C-a [ (also used for viewing scrollback buffer) and with C-]
|
Paste
| C-a ]
|
Rename current window
| C-a A (note the uppercase 'A'!)
|
Console commands |
Detach attached session
| screen -D
|
Detach attached screen session (possibly running in another terminal) and reattach in current terminal
| screen -Dr
|
Detach specific screen session (when more than one sessions are running) | screen -D 14493.ssh2others |
Move cursor to beginning of line | Control+a (release Control) + a |
| |
No comments :
Post a Comment