Skip to content

Instantly share code, notes, and snippets.

@bparaj
Last active October 2, 2020 14:01
Show Gist options
  • Save bparaj/4bf3b30acb242a2a0400bc44598cc1f6 to your computer and use it in GitHub Desktop.
Save bparaj/4bf3b30acb242a2a0400bc44598cc1f6 to your computer and use it in GitHub Desktop.
Basic commands for using tmux

Start a new tmux session with a name

tmux new -s mysessionname

Detach from the current session

  1. While pressing Ctrl, hit b and release both.
  2. Hit d.

List available tmux sessions

tmux ls

Attach to an existing session

tmux attach-session -t mysessionname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment