/
Tmux Cheat Sheet
Tmux Cheat Sheet
Sessions | |
---|---|
Start a new session | Show all sessions |
tmux | tmux ls |
tmux new | tmux list-sessions |
tmux new-session | Ctrl + b s |
:new |
|
| Attach to last session |
Start a new session with the name mysession | tmux a |
tmux new -s mysession | tmux at |
:new -s mysession | tmux attach |
| tmux attach-session |
kill/delete session with the name mysession |
|
tmux kill-ses -t mysession | Attach to a session with the name mysession |
tmux kill-session -t mysession | tmux a -t mysession |
| tmux at -t mysession |
kill/delete all sessions but the current | tmux attach -t mysession |
tmux kill-session -a | tmux attach-session -t mysession |
|
|
kill/delete all sessions but mysession | Session and Window Preview |
tmux kill-session -a -t mysession | Ctrl + b w |
|
|
Rename session | Move to previous session |
Ctrl + b $ | Ctrl + b ( |
|
|
Detach from session | Move to next session |
Ctrl + b d | Ctrl + b ) |
|
|
Detach others on the session (Maximize window by detach other clients) | Exit the session |
attach -d | exit |
, multiple selections available,
Related content
Screen and Tmux Commands
Screen and Tmux Commands
More like this
Resources and Services
Resources and Services
Read with this
Vim and Vim Tutor
Vim and Vim Tutor
More like this
Your Basic Environment
Your Basic Environment
More like this
Dive into Jupyter Labs
Dive into Jupyter Labs
More like this
Interactive Desktop with GUI
Interactive Desktop with GUI
More like this