Skip to content

Instantly share code, notes, and snippets.

@hadihammurabi
Created August 11, 2019 15:42
Show Gist options
  • Save hadihammurabi/1f0feec7c75f0d80e615eb7f279137da to your computer and use it in GitHub Desktop.
Save hadihammurabi/1f0feec7c75f0d80e615eb7f279137da to your computer and use it in GitHub Desktop.
Tmux Cheat Sheet

Tmux Cheat Sheet

Session Sharing

Create session with socket file:

tmux -S /tmp/shareds new -s shared

Allow another user to access the socket file:

chgrp group_name /tmp/shareds

Connect to socket and session:

tmux -S /tmp/shareds attach -t shared
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment