Adjust how to share a tmux session
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
27bd767894
commit
848a796a03
1 changed files with 7 additions and 3 deletions
|
@ -12,17 +12,21 @@ this.
|
|||
|
||||
So we have created the folder:
|
||||
|
||||
* ``/var/tmux/shared`` which is writable to the fi-apprentice group
|
||||
* ``/var/tmux/`` which is writable for both the ``fi-apprentice`` and
|
||||
``sysadmin`` groups
|
||||
|
||||
|
||||
You can then create a tmux session using:
|
||||
|
||||
```
|
||||
tmux -S /var/tmux/shared new -s <name>
|
||||
tmux -S /var/tmux/<name> new -s <name>
|
||||
```
|
||||
|
||||
And the other person(s) can join it using:
|
||||
|
||||
```
|
||||
tmux -S /var/tmux/shared att -t <name>
|
||||
tmux -S /var/tmux/<name> att -t <name>
|
||||
```
|
||||
|
||||
Once the person who created the shared session stops it, the people who have
|
||||
joined will be kicked out of the session as well.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue