Screen For Session Management

Screen is a window manager that multiplexes a physical terminal between several processes. It also can be a saver during working with any server.

To install screen :
$ apt-get install screen

To start screen :
$ screen

To create multiple screen :
$ ctrl-a-c

Switch to different screen (If available) :
$ ctrl-a

Screen navigation :
$ ctrl-a-n (To next screen)
$ ctrl-a-p (To previous screen)

To detach the window :
$ ctrl-a-d ( You can resume/attache the task later)

To list the detached session :
$ screen -ls

To attach a window :
$ screen -r "detached id"

To kill the session :
$ ctrl-a-k



0 comments: