Session sharing with tmux —
One thing I’ve been using forever but even more since I started working from home is tmux session sharing.
tmux -S /tmp/shared -S is telling tmux to use the following path as its socket
To share it with another user, you’ll need to change the permissions on that socket. The easy solution is just to open it up to everyone:
chmod 777 /tmp/shared Though it would be wiser to selectively allow another user to attach your session.