Tuesday, July 17, 2007

[linux] Using Screen

screen -ls : check if there is really a Screen-session running
screen -r: re-attach session
screen -x : attach to a Screen multiple times
screen -DR:login again and make Screen re-attach (R) to the
first session found, after detaching (D) the session first

C-a d: Detach the Screen session

screen -s (screen -q): froze parent terminal
screen -S: split window

C-a Esc: enter scrollback mode, then use or C-f, C-b (vi mode) to scroll

Check the following link: http://en.gentoo-wiki.com/wiki/Screen

Update (Oct.23, 2007): sometimes if you use 'screen -r', you may get a list such like:

You may want to use 'screen -r 455' or just 'screen -r N'

No comments:

Post a Comment