Skip to content

Instantly share code, notes, and snippets.

@whomwah
Created January 29, 2020 09:57
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 whomwah/0e4d1413bd66e12466ba0f517425f806 to your computer and use it in GitHub Desktop.
Save whomwah/0e4d1413bd66e12466ba0f517425f806 to your computer and use it in GitHub Desktop.
[TMUX] #tmux

Start new session with name

tmux new -s mysession

Attach to existing session

tmux a -t mysession

Attach to last session

tmux a

List sessions

tmux ls

Kill/Delete a session

tmux kill-session -a -t mysession

Kill/Delete all sessions

tmux kill-session -a

Detach from a session

Ctrl + b d

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