Screen Home: http://www.gnu.org/software/screen/
Basics:
1 2 3 4 5 6 7 8 9 10 | -ctrl a c -> create new window -ctrl a A -> set window name -ctrl a w -> show all window -ctrl a 1|2|3|... -> switch to window n -ctrl a " -> choose window -ctrl a ctrl a -> switch between window -ctrl a d -> detach window -ctrl a ? -> help -ctrl a [ -> start copy, move cursor to the copy location, press ENTER, select the chars, press ENTER to copy the selected characters to the buffer -ctrl a ] -> paste from buffer |
How to start screen:
1 2 3 4 | -screen -DR -> list of detached screen -screen -r PID -> attach detached screen session -screen -dmS MySession -> start a detached screen session -screen -r MySession -> attach screen session with name MySession |
Advanced:
1 2 | -ctrl a S -> create split screen -ctrl a TAB -> switch between split screens |
If you created a new split screen, the current window is empty. either select an existing window (ctrl a “) or create a new split screen (ctrl a n).
1 2 3 4 | -ctrl a Q -> Kill all regions but the current one. -ctrl a X -> remove active window from split screen -ctrl a O -> logout active window (disable output) -ctrl a I -> login active window (enable output) |

A 3 way screen split view
Furter reading: Linux Administration: A Beginner’s Guide




Great basic tutorial, how do you save “Split setting” after you detach it?
Nice post! I’d like to share what I have created to learn screen faster. It’s a screen cheat sheet with all the possible keyboard shortcuts.
See this: http://www.catonmat.net/blog/screen-terminal-emulator-cheat-sheet/
This is a really nice intro
How do I close a instance ? (that I created with C-a c)
You can close an instance by exiting from the shell.
[...] neophob.com » <span>GNU</span> Screen cheat-sheet – July 29th %(postalicious-tags)( tags: screen cheatsheet gnu linux reference )% [...]
[...] これぐらいを覚えておけばいいでしょう、 [<エスケープシーケンス> + ?] でヘルプも出ますし、チートシートもそこら中転がっています。 [...]
[...] Delicious: neophob.com » GNU Screen cheat-sheet Great cheat sheet for Linux screen commands., linux – Tips for Securing a LAMP Server – Server Fault Great resources for learning how to properly secure a LAMP stack. [...]
[...] neophob.com » GNU Screen cheat-sheet – March 4th ( tags: screen cheatsheet ) March 4th, 2012, @ 11:00 pm | Tags: links | Category: delicious links | Comments are closed | Trackback this Post | 0 views [...]
Thanks, good for a quick reference. However numbering of windows in screen starts with 0, not 1 :)
Thanks for this! This was really helpful.
[...] cheatscheet1 screen cheat [...]