Skip to content

Instantly share code, notes, and snippets.

@wakproductions
Last active December 5, 2016 16:20
Show Gist options
  • Save wakproductions/f80f9d70c1ad23bcbe5d8cac8b4cdad0 to your computer and use it in GitHub Desktop.
Save wakproductions/f80f9d70c1ad23bcbe5d8cac8b4cdad0 to your computer and use it in GitHub Desktop.
TMux Cheat Sheet
tmux list-sessions
  • What happens if you have a tmux session running remotely and disconnect/forget about it? Can it run indefinitely? Yes it can, it will keep that session alive.

Start a new session

tmux new -s session-name

Attach to an existing session

tmux attach -t session-name

See existing sessions

tmux list-sessions

Ctrl + b

  • d - detach session
  • s - list sessions
  • w - list windows

Scrolling

Ctrl + b [ PageUp/PageDn (fn + Up/fn + Down) Ctrl + c

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