Screen: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
Created page with ''''screen''' is a Linux command that allows you to resume your SSH session should you get disconnected. To install screen: <pre> yum -y install screen </pre> To start a screen …'
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''screen''' is a Linux command that allows you to resume your SSH session should you get disconnected.
'''screen''' is a Linux command that allows you to resume your SSH session should you get disconnected.


= Installation =
To install screen:
To install screen:
<pre>
<pre>
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.


To start a screen seccion just type '''screen''' form the CLI.
= Start Session =
== No Paramaters ==
To start a screen session just type '''screen''' form the CLI.
<pre>
<pre>
screen
screen
</pre>
</pre>


If you get disconnected and need to resume your session of screen type:
== Name Session ==
<pre>
screen -S name
</pre>
 
= Disconnect =
To disconnect from a session
<pre>
ctrl A
d
</pre>
 
= Reconnect =
If you get disconnected and need to resume your session screen, type:
<pre>
<pre>
screen -r
screen -r
</pre>
</pre>
or
<pre>
screen -r <sessionname>
</pre>


[[Category : Linux]]
[[Category : Linux]]

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>