Screen: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
No edit summary
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>
Line 6: Line 7:
</pre>
</pre>


= Start Session =
== No Paramaters ==
To start a screen session just type '''screen''' form the CLI.
To start a screen session just type '''screen''' form the CLI.
<pre>
<pre>
Line 11: Line 14:
</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]]

Revision as of 04:19, 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

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>