Screen Usage

Basic Usage

Create new session

screen

Create a new named session

screen -S SESSION

Attach to an existing session

screen -r

Attach to an existing named session

screen -r SESSION

Forcefully attach an existing session, logs other user out

screen -Dr

Forcefully attach an existing named session, logs other user out

screen -Dr SESSION

Attach to an existing session and share it with other users (if any)

screen -x

Attach to an enxisting named session and share it with other users (if any)

screen -x SESSION

List active screen sessions for the current user

screen -list

Detach session

ctrl+a + d

Create new tab

ctrl+a + c

Kill current tab

ctrl+a + k

Switch to tab

ctrl+a + NUMBER

Enter Scrolling Mode

ctrl+a esc

Leave Scrolling Mode

enter
enter

Enter a Screen command

ctrl+a + :
COMMAND

Give a specific title to a tab

ctrl+a :
title
TITLE

Continuesly log the content of the session

ctrl+a + H