Difference between revisions of "Screen"
From Anarchaserver
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__TOC__ | |||
If you want to work together on the anarchaserver. Somebody can share the user screen, and other user can follow. If some screen sessions are already open, please terminate them before starting a new session. | |||
<pre>screen -wipe</pre> | |||
http://www.gnu.org/software/screen/manual/screen.pdf | |||
==STEP 1 BECOME ROOT== | |||
All users become root<br /> | |||
<pre>sudo -i</pre> | |||
==STEP 2 OPEN SCREEN SESSION== | |||
screen | One user open a screen<br /> | ||
<pre>screen </pre> | |||
to test | |||
# and write something (it functions a | ==STEP 3 WATCH SCREEN== | ||
Another user (also root!) attaches to the screen<br /> | |||
<pre>screen -x</pre> | |||
==STEP 4 TEST== | |||
to test <br /> | |||
<pre># "and write something" <br /></pre> | |||
(if you use a # it functions as a comment - even if you execute it)<br /> | |||
==STEP 5 LEAVE THE SCREEN SESSION== | |||
(without terminating it)<br /> | |||
CTRL a - d<br /> | |||
<br /> | |||
(with terminating it)<br /> | |||
exit<br />. | |||
==STEP 6 OP NEW SESSION IN A SESSION== | |||
(like another tab)<br /> | |||
create new screen: CTRL A C | |||
which check the the screens (space)<br /> | |||
move to the next tab of screen : CTRL (space) | |||
==STEP 6 Go in browser mode== | |||
Ctrl+A ESC |
Latest revision as of 14:05, 27 September 2021
If you want to work together on the anarchaserver. Somebody can share the user screen, and other user can follow. If some screen sessions are already open, please terminate them before starting a new session.
screen -wipe
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" <br />
(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
.
STEP 6 OP NEW SESSION IN A SESSION
(like another tab)
create new screen: CTRL A C
which check the the screens (space)
move to the next tab of screen : CTRL (space)
STEP 6 Go in browser mode
Ctrl+A ESC