>>screen #starts new screen session
>>screen -S <session-name> #starts new screen session with given name
>>screen -ls #list already running screen sessions
>>screen -r
<pid/name>#re-attach to a screen session
>>screen -dr <pid/name> #detach other and attach yourself to given screen session
List all commands: C-a ?
New Window: C-a c
Moving Across windows..
Show Windows: C-a w
Next Window: C-a n
Prev Window: C-a p
Goto Window: C-a [0-9]
Last Window: C-a C-a
Sending literal C-a to shell: C-a a
Detach session: C-a d
Reattach session: C-a r
Toggle Scroll buffer mode: C-a ESC or C-a C-[ #then use C-n or C-p to navigate, in this mode you can use space to set first mark and then '>' to send the selected test to /tmp/screen-exchange file
Kill Window: C-a k or exit, killing last window will automatically kill screen session
Quit Screen: C-a :quit
Screen User's Manual
No comments:
Post a Comment