Skip to content

Instantly share code, notes, and snippets.

@hienvd
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hienvd/7ba3baa405156b433746 to your computer and use it in GitHub Desktop.
Save hienvd/7ba3baa405156b433746 to your computer and use it in GitHub Desktop.
Tmux cheatsheet
Manage Sessions
tmux new -s session_name
>> creates a new tmux session named session_name
tmux attach -t session_name
>> attaches to an existing tmux session named session_name
tmux switch -t session_name
>> switches to an existing session named session_name
tmux list-sessions
>> lists existing tmux sessions
tmux detach (prefix + d)
>> detach the currently attached session
Shortcut for:
attach -> -a
detach -> -d
list -> ls
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment