Screen: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 6: Line 6:
yum -y install screen
yum -y install screen
</pre>
</pre>
or
<pre>
apt-get update
apt-get -y install screen
</pre>
dependent on Linux distribution.


= Start Session =
= Start Session =

Latest revision as of 04:21, 16 November 2014

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>