CommunityData:Tmux

From CommunityData
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

tmux lets you switch between windows (listed in the green bar at the bottom) here are several useful commands:

  • Starts a new tmux: tmux (at the command line)
  • Connect to an existing tmux: tmux attach (at the command line)
  • Create a new window: Ctrl-b c (from within tmux)
  • Switch to window N: Ctrl-b N (from within tmux)
  • Disconnect from tmux: Ctrl-b d (from within tmux)
  • To shut down tmux close terminal without disconnecting. Reattach and repeat to make sure every tmux window is closed.


More elaborate cheat-sheets like this one (pdf) are available elsewhere.