Cheat Sheet
The commands you keep forgetting, with a one-line description and a real example you can copy - 384 across 26 tools. Pick a tool in the sidebar, or search across all of them.
tmux
Keep terminal sessions alive and split your screen. The prefix key is Ctrl-b by default.| Command | What it does | Example |
|---|---|---|
tmux | Start a new session. | tmux |
tmux new -s | Start a named session. | tmux new -s work |
tmux ls | List running sessions. | tmux ls |
tmux attach | Reattach to a session. | tmux attach -t work |
Ctrl-b d | Detach, leaving everything running. | Ctrl-b d |
Ctrl-b c | Create a new window. | Ctrl-b c |
Ctrl-b n / p | Next / previous window. | Ctrl-b n |
Ctrl-b % | Split the current pane vertically. | Ctrl-b % |
Ctrl-b " | Split the current pane horizontally. | Ctrl-b " |
Ctrl-b arrow | Move between panes. | Ctrl-b right |
Ctrl-b x | Close the current pane. | Ctrl-b x |
Ctrl-b , | Rename the current window. | Ctrl-b , |
Ctrl-b [ | Enter scroll / copy mode (q to exit). | Ctrl-b [ |
tmux kill-session | Kill a session by name. | tmux kill-session -t work |