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:
tmux -S /tmp/shareds new -s shared
- Change the group of the socket to allow users of the group (this example allows sudoers)
chgrp sudo /tmp/shareds
- The users who want to join the group can use this command:
tmux -S /tmp/shareds attach -t shared
See you soon !
Keep learning !
Written on Sun Oct 21st 2018, 10:31 GMT+02:00.
Last updated on Sun Oct 21st 2018, 10:31 GMT+02:00.