Screen

From KlavoWiki
Jump to navigationJump to search

screen is a Linux command that allows you to resume your SSH session should you get disconnected.

Installation

To install screen:

yum -y install screen

or

apt-get update
apt-get -y install screen

dependent on Linux distribution.

Start Session

No Paramaters

To start a screen session just type screen form the CLI.

screen

Name Session

screen -S name

Disconnect

To disconnect from a session

ctrl A
d

Reconnect

If you get disconnected and need to resume your session screen, type:

screen -r

or

screen -r <sessionname>