tmux Essentials Cheatsheet πŸ“„

tmux Essentials Cheatsheet πŸ“„#

Action

Command

Start a new session

tmux

Reattach to last session

tmux attach or tmux a

Detach from session

Ctrl+b, then d

Create new window

Ctrl+b, then c

Switch window (next/prev)

Ctrl+b, then n / p

Close pane/window

exit or Ctrl+d

For handling more than one tmux sessions:

Action

Command

List sessions

tmux ls

Start a named session

tmux new -s mysession

Attach to a named session

tmux attach -t mysession