Donnerstag, 10. Oktober 2013

Screen

A quick reminder (as can be found plentiful on the web) for the important commands for the tool screen. This tool allows you to start jobs that can be easily detached from the terminal/shell.

Start the screen session:
screen, then enter

After that you can use the session as any other terminal window.
To create new screens:
ctrl + a + c (to browse them use ctrl + a + n / ctrl + a + p)

Detach a screen:
ctrl + a + d

Show screens:
screen -ls

Output of this would be something like:
There are screens on:  
     20751.host  (Detached) 

Reattach a screen:
screen -r <job>

Kill a screen:
screen -r <job>
ctrl + a
quit