Difference between revisions of "Screen"

From Anarchaserver
Line 5: Line 5:
==STEP 1 BECOME ROOT==
==STEP 1 BECOME ROOT==
All users become root<br />
All users become root<br />
sudo -i
<code>sudo -i</code>
 


==STEP 2 OPEN SCREEN SESSION==
==STEP 2 OPEN SCREEN SESSION==

Revision as of 20:09, 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

  1. "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
.