Tuesday 27 December 2011

Screens on linux.


In our training session on screens by  mr.kamesh. He teaches us the way to switch to different screens..
this is actually a very cool session to know the tricky things in screens.after these sessions we search about this in google and we come to know even more shortcuts to play with that i just share that here..

Screens

Screen is a terminal  multiplexer that allows us to manage many process through one terminal.By that each process gets its own virtual window.so that we can switch between windows..

Interacting with Screens.

Before we get start interacting with screens..we are suppose to know how to open and switch to different windows..

If you want  to play with the screens just try the following keys in the terminal.

To open a new screen: Type screen

It will enter in to the screen after that u can open a new window using

Ctrl+a c: open a new screen

Ctrl+a n: next screen

Ctrl+a p: previous screen

Ctrl+a ": select the windows from the list  (Try this is good one)

Ctrl+a  S: split terminal horizontally into region

Ctrl+a |: split terminal vertically into regions

Ctrl+a :resize resize region  

Ctrl+a :fit fit screen size to new terminal size Ctrl+a F is the same. Do after resizing xterm

Ctrl+a :remove remove region Ctrl+a X is the same

Ctrl+a tab Move to next region  
   
Ctrl+a d: detach screen from terminal Start screen with -r option to reattach

Ctrl+a A: set window title  

Ctrl+a x: lock session Enter user password to unlock

Ctrl+a [: enter scrollback/copy mode Enter to start and end copy region. Ctrl+a ] to leave this mode

Ctrl+a ]: paste buffer Supports pasting between windows

Ctrl+a >: write paste buffer to file useful for copying between screens

Ctrl+a <: read paste buffer from file useful for pasting between screens
   
Ctrl+a ?: show key bindings/command names Note unbound commands only in man page

Ctrl+a : goto screen command prompt up shows last command entered


Just enjoy playing with screens..


No comments:

Post a Comment