Difference between revisions of "Screen"
From Anarchaserver
Line 1: | Line 1: | ||
If you want to work together on the anarchaserver. Somebody can share the user screen, and other user can follow. | 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 | ==STEP 1 BECOME ROOT== | ||
All users become root<br /> | All users become root<br /> | ||
sudo -i | sudo -i | ||
STEP 2 OPEN SCREEN SESSION | ==STEP 2 OPEN SCREEN SESSION== | ||
One user open a screen<br /> | One user open a screen<br /> | ||
screen | screen | ||
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 | screen -x | ||
STEP 4 TEST | ==STEP 4 TEST== | ||
to test <br /> | to test <br /> | ||
# "and write something" <br /> | # "and write something" <br /> | ||
Line 24: | Line 24: | ||
STEP 5 LEAVE THE SCREEN SESSION | ==STEP 5 LEAVE THE SCREEN SESSION== | ||
(without terminating it)<br /> | (without terminating it)<br /> | ||
CTRL a - d<br /> | CTRL a - d<br /> |
Revision as of 20:00, 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
.