Skip to content

Instantly share code, notes, and snippets.

@dungdt88
Created July 6, 2018 05:05
Show Gist options
  • Save dungdt88/6da0801a1bb12d3bf614ff72c42be91a to your computer and use it in GitHub Desktop.
Save dungdt88/6da0801a1bb12d3bf614ff72c42be91a to your computer and use it in GitHub Desktop.
Tmux to share bash session

Create a new session

tmux new -s <session-name>

List all current session

tmux ls

Join/Attach a session

tmux attach -t <session-name>

Quit a session: CMD + D or:

exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment