Document what are the two names in the tmux command to share a session

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2020-05-12 23:05:44 +02:00
parent cb5074ba6c
commit 4d19f075b7

View file

@ -19,13 +19,14 @@ So we have created the folder:
You can then create a tmux session using:
```
tmux -S /var/tmux/<name> new -s <name>
tmux -S /var/tmux/<socket name> new -s <session name>
```
(The socket and session names can be different, but they don't have to)
And the other person(s) can join it using:
```
tmux -S /var/tmux/<name> att -t <name>
tmux -S /var/tmux/<socket name> att -t <session name>
```
Once the person who created the shared session stops it, the people who have