Screen

From KlavoWiki
Revision as of 04:21, 16 November 2014 by David (Sọ̀rọ̀ | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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>