For Future Reference
Creating Sessions
Command | Description |
---|---|
tmux new-session |
Creates a new session without a name. Can be shortened to tmux new or simply tmux. |
tmux new -s development |
Creates a new session called “development.” |
tmux new -s development -n editor |
Creates a session named “development” and names the first window “editor.” |
tmux attach -t development |
Attaches to a session named “development.” |
Default Commands for Sessions, Windows, and Panes
Command | Description |
---|---|
|
Detaches from the session, leaving the session running in the background. |
|
Enters Command mode. |
|
Creates a new window from within an existing tmux session. Shortcut for new-window. |
| Moves to the next window. |
| Moves to the previous ... |
Get tmux 2 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.