Weblog

Written on: 2005/08/25.

A quick GNU screen reference...

Unfortunately GNU screen was designed with obscurity in mind. Most people want to use it to run / monitor terminal programs from multiple locations using ssh.

Here are the things you need to know to do that:

screen -S myscreen

Creates a new screen session named myscreen.

Key combination: Ctrl+A+D

Detatches a running screen session.

screen -r myscreen

Reattaches the screen session named myscreen.

screen -list

Lists all screens.

These are the four basic things you need to know to use screen effectively. Why they're not clearly stated in the nauseatingly long man page at the top is beyond me.