Difference between revisions of "Screen"
From Anarchaserver
| Line 3: | Line 3: | ||
| [http://www.gnu.org/software/screen/manual/screen.pdf]   | [http://www.gnu.org/software/screen/manual/screen.pdf]   | ||
| become root | STEP 1 BECOME ROOT<br />. | ||
| All users become root<br />. | |||
| sudo -i | sudo -i | ||
| <br />. | |||
| STEP 2 OPEN SCREEN SESSION<br />. | |||
| One user open a screen<br />. | |||
| screen   | screen   | ||
| <br />. | |||
| STEP 3 WATCH SCREEN<br />. | |||
| Another user (also root!) attaches to the screen<br />. | |||
| screen -x | screen -x | ||
| <br />. | |||
| to test   | STEP 4 TEST<br />. | ||
| #and write something (it functions a  | to test <br />. | ||
| # "and write something" <br />. | |||
| (if you use a # it functions as a comment - even if you execute it)<br />. | |||
| <br />. | |||
| STEP 5 LEAVE THE SCREEN SESSION<br />. | |||
| (without terminating it)<br />. | |||
| CTRL a - d<br />. | |||
| <br />. | |||
| (with terminating it)<br />. | |||
| exit<br />. | |||
Revision as of 19:53, 20 September 2015
If you want to work together on the anarchaserver. Somebody can share the user screen, and other user can follow.
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
.

