Difference between revisions of "Screen"

From Anarchaserver
Line 9: Line 9:
==STEP 2 OPEN SCREEN SESSION==
==STEP 2 OPEN SCREEN SESSION==
One user open a screen<br />
One user open a screen<br />
screen  
<code>screen </code>




==STEP 3 WATCH SCREEN==
==STEP 3 WATCH SCREEN==
Another user (also root!) attaches to the screen<br />
Another user (also root!) attaches to the screen<br />
screen -x
<code>screen -x</code>




==STEP 4 TEST==
==STEP 4 TEST==
to test <br />
to test <br />
# "and write something" <br />
<code># "and write something" <br /></code>
(if you use a # it functions as a comment - even if you execute it)<br />
(if you use a # it functions as a comment - even if you execute it)<br />



Revision as of 20:12, 20 September 2015

If you want to work together on the anarchaserver. Somebody can share the user screen, and other user can follow.

http://www.gnu.org/software/screen/manual/screen.pdf

STEP 1 BECOME ROOT

All users become root
sudo -i

STEP 2 OPEN SCREEN SESSION

One user open a screen
screen


STEP 3 WATCH SCREEN

Another user (also root!) attaches to the screen
screen -x


STEP 4 TEST

to test
# "and write something"
(if you use a # it functions as a comment - even if you execute it)


STEP 5 LEAVE THE SCREEN SESSION

(without terminating it)
CTRL a - d

(with terminating it)
exit
.