Share a terminal session using Tmux
Reminder: you can left-scroll and right-scroll the long code blocks
tmux is a well-known utility which allow multiplexing of virtual consoles.
Follow the simple steps above in order to share a terminal session.
- Create a named session with a defined socket:
1 | tmux -S /tmp/shareds new -s shared |
- Change the group of the socket to allow users of the group (this example allows sudoers)
1 | chgrp sudo /tmp/shareds |
- The users who want to join the group can use this command:
1 | tmux -S /tmp/shareds attach -t shared |
See you soon !
Keep learning !
Written on Sun Oct 21st 2018, 8:31 GMT+00:00.
Last updated on Sun Oct 21st 2018, 8:31 GMT+00:00.