{"id":15751,"date":"2026-09-18T06:52:14","date_gmt":"2026-09-18T06:52:14","guid":{"rendered":"https:\/\/www.bodhost.com\/kb\/?p=15751"},"modified":"2026-09-18T06:57:48","modified_gmt":"2026-09-18T06:57:48","slug":"tmux-cheat-sheet","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/kb\/tmux-cheat-sheet\/","title":{"rendered":"tmux Cheat Sheet: Commands and Shortcuts Explained"},"content":{"rendered":"<p>Managing several terminal tasks at once can be difficult, especially when you&#8217;re connected to a remote Linux server via SSH. tmux helps organize these tasks by letting you run multiple terminal sessions, windows, and panes from a single terminal.<\/p>\n<p>One useful feature of tmux is that a session can continue running even after you disconnect from the server. You can reconnect later and continue working from where you left off.<\/p>\n<p>This cheat sheet covers the most useful tmux commands and keyboard shortcuts for managing sessions, windows, panes, copied text, and configuration.<\/p>\n<h3>What is tmux?<\/h3>\n<p>tmux is a terminal multiplexer available on Linux systems. It allows you to run several terminal environments inside one terminal window and organize them according to your work.<\/p>\n<p>For example, you can use one pane to run a command, another to watch server logs, and another to edit or test a script. You can also create separate windows for different tasks within the same session.<\/p>\n<p>tmux is especially useful when working with remote servers over SSH. If you detach from a tmux session, the processes running inside it can continue. You can reconnect to the server later and attach to the same session.<\/p>\n<p>The three main parts of tmux are:<\/p>\n<ul>\n<li>Sessions: Hold related windows and provide the main workspace for a task.<\/li>\n<li>Windows: Separate different activities inside a session.<\/li>\n<li>Panes: Divide a window into multiple terminal areas.<\/li>\n<\/ul>\n<p>Most <a href=\"https:\/\/www.bodhost.com\/kb\/top-5-linux-distros-for-web-hosting\/\" target=\"_blank\" rel=\"noopener\">Linux distributions<\/a> include tmux in their package repositories. If it is not already installed, install it using your distribution&#8217;s package manager.<\/p>\n<h4>tmux Commands<\/h4>\n<p>You can manage tmux directly from the command line or use keyboard shortcuts after starting a session.<\/p>\n<p>The default tmux prefix key is CTRL+b. For shortcuts, press CTRL+b first, release both keys, and then press the required shortcut key.<\/p>\n<h4>tmux Sessions<\/h4>\n<p>A tmux session provides the main workspace where you can create and manage windows and panes. You can name sessions to keep different projects or tasks organized.<\/p>\n<table style=\"width: 100%; border-collapse: collapse; font-family: Arial, sans-serif; margin: 20px 0; text-align: left; font-size: 14px;\">\n<thead>\n<tr style=\"background-color: #0078ff; color: #ffffff;\">\n<th style=\"padding: 12px 15px; border: 1px solid #0078ff; width: 45%;\">Command<\/th>\n<th style=\"padding: 12px 15px; border: 1px solid #0078ff; width: 55%;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"background-color: #ffffff; border-bottom: 1px solid #e0e0e0;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; font-family: monospace; color: #2b3a55; font-weight: bold;\">tmux<\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; color: #333333;\">Start a new tmux session.<\/td>\n<\/tr>\n<tr style=\"background-color: #f9fbff; border-bottom: 1px solid #e0e0e0;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; font-family: monospace; color: #2b3a55; font-weight: bold;\">tmux new -s [session_name]<\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; color: #333333;\">Create a new session with a specified name.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff; border-bottom: 1px solid #e0e0e0;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; font-family: monospace; color: #2b3a55; font-weight: bold;\">tmux attach<\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; color: #333333;\">Reattach to the most recently active session.<\/td>\n<\/tr>\n<tr style=\"background-color: #f9fbff; border-bottom: 1px solid #e0e0e0;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; font-family: monospace; color: #2b3a55; font-weight: bold;\">tmux detach<\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; color: #333333;\">Detach from the current session while keeping it running.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff; border-bottom: 1px solid #e0e0e0;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; font-family: monospace; color: #2b3a55; font-weight: bold;\">tmux attach -t [session_name] <span style=\"font-family: Arial, sans-serif; font-weight: normal; color: #666;\">or<\/span> tmux a -t [session_name]<\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; color: #333333;\">Attach to a specific session.<\/td>\n<\/tr>\n<tr style=\"background-color: #f9fbff; border-bottom: 1px solid #e0e0e0;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; font-family: monospace; color: #2b3a55; font-weight: bold;\">tmux switch -t [session_name]<\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; color: #333333;\">Switch to another session.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff; border-bottom: 1px solid #e0e0e0;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; font-family: monospace; color: #2b3a55; font-weight: bold;\">tmux rename-session -t [old_name] [new_name]<\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; color: #333333;\">Rename an existing session.<\/td>\n<\/tr>\n<tr style=\"background-color: #f9fbff; border-bottom: 1px solid #e0e0e0;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; font-family: monospace; color: #2b3a55; font-weight: bold;\">tmux list-sessions <span style=\"font-family: Arial, sans-serif; font-weight: normal; color: #666;\">or<\/span> tmux ls<\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; color: #333333;\">Display active tmux sessions.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff; border-bottom: 1px solid #e0e0e0;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; font-family: monospace; color: #2b3a55; font-weight: bold;\">tmux kill-session -t [session_name]<\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; color: #333333;\">Close a specific session.<\/td>\n<\/tr>\n<tr style=\"background-color: #f9fbff; border-bottom: 1px solid #e0e0e0;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; font-family: monospace; color: #2b3a55; font-weight: bold;\">tmux kill-session -a<\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; color: #333333;\">Close all sessions except the current session.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff; border-bottom: 1px solid #e0e0e0;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; font-family: monospace; color: #2b3a55; font-weight: bold;\">tmux kill-session -a -t [session_name]<\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; color: #333333;\">Close all sessions except the specified session.<\/td>\n<\/tr>\n<tr style=\"background-color: #f9fbff; border-bottom: 1px solid #e0e0e0;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; font-family: monospace; color: #2b3a55; font-weight: bold;\">tmux kill-server<\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e0e0e0; color: #333333;\">Stop the tmux server and close all its sessions.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>For example, create a session named project with:<\/p>\n<p><span style=\"color: #993300;\">tmux new -s project<\/span><\/p>\n<p>You can later return to it with:<\/p>\n<p><span style=\"color: #993300;\">tmux attach -t project<\/span><\/p>\n<h4>tmux Windows<\/h4>\n<p>A window is a separate workspace inside a tmux session. Windows are useful when you want to keep different tasks apart without creating separate tmux sessions.<\/p>\n<table style=\"width: 100%; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; text-align: left; margin: 20px 0; border: 1px solid #e2e8f0;\">\n<thead>\n<tr style=\"background-color: #0078ff; color: #ffffff;\">\n<th style=\"padding: 12px 15px; border: 1px solid #0066dc; width: 40%;\">Command \/ Shortcut<\/th>\n<th style=\"padding: 12px 15px; border: 1px solid #0066dc; width: 60%;\">Action<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">c<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Create a new window.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">,<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Rename the current window.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">w<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Display the available windows.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">&amp;<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Close the current window.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">n<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Move to the next window.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">p<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Move to the previous window.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">l<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Return to the previously active window.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">0...9<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Open a window by its number.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">d<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Detach from the current tmux session.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">tmux select-window -t [window_name]<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Select a window using its index or name.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">tmux rename-window [new_name]<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Rename the current window.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>For example, you could keep server monitoring in one window and application testing in another. Switching between them does not require creating another<a href=\"https:\/\/www.bodhost.com\/kb\/ssh-vs-ssl-whats-the-difference\/\" target=\"_blank\" rel=\"noopener\"> SSH<\/a> connection.<\/p>\n<h4>tmux Panes<\/h4>\n<p>Panes divide a tmux window into multiple terminal sections. This lets you keep several commands visible at the same time.<\/p>\n<table style=\"width: 100%; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; text-align: left; margin: 20px 0; border: 1px solid #e2e8f0;\">\n<thead>\n<tr style=\"background-color: #0078ff; color: #ffffff;\">\n<th style=\"padding: 12px 15px; border: 1px solid #0066dc; width: 40%;\">Command \/ Shortcut<\/th>\n<th style=\"padding: 12px 15px; border: 1px solid #0066dc; width: 60%;\">Action<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">%<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Split the current pane vertically.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">\"<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Split the current pane horizontally.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">x<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Close the current pane.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">o<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Move to the next pane.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">z<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Toggle the current pane between normal and full-screen view.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">;<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Switch between the two most recently active panes.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">{<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Move the current pane to the left.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">}<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Move the current pane to the right.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">SPACE<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Cycle through available pane layouts.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">!<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Move the current pane into a separate window.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">exit<\/code><span style=\"font-size: 12px; color: #64748b;\">or<\/span><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+d<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Close the active pane.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">q<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Display pane numbers.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>You can also resize panes when the default size is not suitable.<\/p>\n<p>Press:<\/p>\n<p><span style=\"color: #993300;\">CTRL+b then :<\/span><\/p>\n<p>This opens tmux command mode. You can then use commands such as:<\/p>\n<p>resize-pane -D<br \/>\nresize-pane -U<br \/>\nresize-pane -R<br \/>\nresize-pane -L<\/p>\n<p>These move the shared pane boundary down, up, right, or left.<\/p>\n<p>You can also specify the number of cells:<\/p>\n<p><span style=\"color: #993300;\">resize-pane -U 10<\/span><\/p>\n<p>This moves the pane boundary upward by 10 cells.<\/p>\n<p>To maximize the active pane, use:<\/p>\n<p><span style=\"color: #993300;\">resize-pane -Z<\/span><\/p>\n<p>Run the same command again to return the pane to its previous layout.<\/p>\n<p>You can also adjust pane dimensions with arrow-key shortcuts:<\/p>\n<table style=\"width: 100%; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; text-align: left; margin: 20px 0; border: 1px solid #e2e8f0;\">\n<thead>\n<tr style=\"background-color: #0078ff; color: #ffffff;\">\n<th style=\"padding: 12px 15px; border: 1px solid #0066dc; width: 40%;\">Shortcut<\/th>\n<th style=\"padding: 12px 15px; border: 1px solid #0066dc; width: 60%;\">Action<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">Up Arrow<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Increase pane height.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">Down Arrow<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Decrease pane height.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">Left Arrow<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Increase pane width.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">Right Arrow<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Decrease pane width.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Pane resizing works along the boundaries shared by neighboring panes. Changing one boundary can therefore change the size of the adjacent pane as well.<\/p>\n<h4>tmux Copy Mode<\/h4>\n<p>Copy Mode allows you to move through previous terminal output, select text, and copy it without relying on the terminal&#8217;s normal scrolling behavior. This is particularly useful when a command produces a large amount of output, and you need to retrieve a specific line or section.<\/p>\n<table style=\"width: 100%; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; text-align: left; margin: 20px 0; border: 1px solid #e2e8f0;\">\n<thead>\n<tr style=\"background-color: #0078ff; color: #ffffff;\">\n<th style=\"padding: 12px 15px; border: 1px solid #0066dc; width: 40%;\">Command \/ Shortcut<\/th>\n<th style=\"padding: 12px 15px; border: 1px solid #0066dc; width: 60%;\">Action<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">[<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Enter Copy Mode.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">q<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Leave Copy Mode.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">SPACE<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Start selecting text.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">ENTER<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Copy the selected text.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">ESC<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Clear the selection and leave Copy Mode.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b<\/code> then <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">]<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Paste copied text.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">h<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Move left.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">j<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Move down.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">k<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Move up.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">l<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Move right.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">w<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Move forward by one word.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">b<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Move backward by one word.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+u<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Scroll up by half a page.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+d<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Scroll down by half a page.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">PgUp<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Scroll up by a full page.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">PgDn<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Scroll down by a full page.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>For example, if a log command has produced several screens of output, press CTRL+b followed by [ to enter Copy Mode. Navigate to the required text, press SPACE to begin selecting, and press ENTER when the selection is complete.<\/p>\n<h4>tmux Configuration<\/h4>\n<p>tmux can be customized through its tmux.conf configuration file. You can change keyboard shortcuts, window and pane numbering, status bar settings, and other behavior.<\/p>\n<p>For system-wide settings, edit:<\/p>\n<p><span style=\"color: #993300;\">sudo nano \/etc\/tmux.conf<\/span><\/p>\n<p>For settings that apply only to your user account, edit:<\/p>\n<p><span style=\"color: #993300;\">nano ~\/.tmux.conf<\/span><\/p>\n<p>Some useful configuration examples include:<\/p>\n<table style=\"width: 100%; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; text-align: left; margin: 20px 0; border: 1px solid #e2e8f0;\">\n<thead>\n<tr style=\"background-color: #0078ff; color: #ffffff;\">\n<th style=\"padding: 12px 15px; border: 1px solid #0066dc; width: 40%;\">Configuration<\/th>\n<th style=\"padding: 12px 15px; border: 1px solid #0066dc; width: 60%;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">set-option -g prefix C-a<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Changes the tmux prefix from CTRL+b to CTRL+a.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">unbind C-b<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Removes the default CTRL+b binding.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">bind C-a send-prefix<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Assigns CTRL+a as the new prefix.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">unbind %<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Removes the default vertical split shortcut.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">bind h split-window -h<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Assigns a custom shortcut for a horizontal split.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">unbind '\"'<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Removes the default horizontal split shortcut.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">bind v split-window -v<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Assigns a custom shortcut for a vertical split.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">setw -g monitor-activity on<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Enables activity monitoring for windows.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">setw -g visual-activity on<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Shows a visual notification when activity occurs.<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">set -g base-index 1<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Starts window numbering from 1 instead of 0.<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">set -g pane-base-index 1<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Starts pane numbering from 1 instead of 0.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>After modifying the configuration file, save the changes and exit the editor.<\/p>\n<p>Configuration changes may not appear in an already running tmux session. Restart the relevant tmux session for the updated settings to take effect.<\/p>\n<h4>tmux Cheat Sheet<\/h4>\n<p>The following compact reference covers the <a href=\"https:\/\/www.bodhost.com\/kb\/cmd-commands-for-networking\/\" target=\"_blank\" rel=\"noopener\">commands<\/a> and shortcuts most commonly used when working with tmux.<\/p>\n<h5>Session Commands<\/h5>\n<table style=\"width: 100%; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; text-align: left; margin: 20px 0; border: 1px solid #e2e8f0;\">\n<thead>\n<tr style=\"background-color: #0078ff; color: #ffffff;\">\n<th style=\"padding: 12px 15px; border: 1px solid #0066dc; width: 40%;\">Command<\/th>\n<th style=\"padding: 12px 15px; border: 1px solid #0066dc; width: 60%;\">Purpose<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">tmux<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Start tmux<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">tmux new -s name<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Create named session<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">tmux ls<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">List sessions<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">tmux attach -t name<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Attach to a session<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">tmux switch -t name<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Switch sessions<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">tmux rename-session -t old new<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Rename session<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">tmux kill-session -t name<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Close a session<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">tmux kill-server<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Close all tmux sessions<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>Window Shortcuts<\/h5>\n<table style=\"width: 100%; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; text-align: left; margin: 20px 0; border: 1px solid #e2e8f0;\">\n<thead>\n<tr style=\"background-color: #0078ff; color: #ffffff;\">\n<th style=\"padding: 12px 15px; border: 1px solid #0066dc; width: 40%;\">Shortcut<\/th>\n<th style=\"padding: 12px 15px; border: 1px solid #0066dc; width: 60%;\">Purpose<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b c<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">New window<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b ,<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Rename window<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b w<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">List windows<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b n<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Next window<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b p<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Previous window<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b l<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Last active window<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b 0...9<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Select window by number<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b &amp;<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Close window<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b d<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Detach session<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>Pane Shortcuts<\/h5>\n<table style=\"width: 100%; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; text-align: left; margin: 20px 0; border: 1px solid #e2e8f0;\">\n<thead>\n<tr style=\"background-color: #0078ff; color: #ffffff;\">\n<th style=\"padding: 12px 15px; border: 1px solid #0066dc; width: 40%;\">Shortcut<\/th>\n<th style=\"padding: 12px 15px; border: 1px solid #0066dc; width: 60%;\">Purpose<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b %<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Vertical split<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b \"<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Horizontal split<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b o<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Next pane<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b z<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Zoom pane<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b ;<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Previous active pane<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b {<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Move pane left<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b }<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Move pane right<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b SPACE<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Change pane layout<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b !<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Move pane to a new window<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b q<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Show pane numbers<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b x<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Close pane<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>Copy Mode Shortcuts<\/h5>\n<table style=\"width: 100%; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; text-align: left; margin: 20px 0; border: 1px solid #e2e8f0;\">\n<thead>\n<tr style=\"background-color: #0078ff; color: #ffffff;\">\n<th style=\"padding: 12px 15px; border: 1px solid #0066dc; width: 40%;\">Shortcut<\/th>\n<th style=\"padding: 12px 15px; border: 1px solid #0066dc; width: 60%;\">Purpose<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b [<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Enter Copy Mode<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">SPACE<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Start selection<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">ENTER<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Copy selection<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">CTRL+b ]<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Paste selection<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">q<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Exit Copy Mode<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">h<\/code> \/ <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">j<\/code> \/ <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">k<\/code> \/ <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">l<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Move around the output<\/td>\n<\/tr>\n<tr style=\"background-color: #ffffff;\">\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0;\"><code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">PgUp<\/code> \/ <code style=\"background: #f1f5f9; padding: 3px 6px; border-radius: 4px; color: #0f172a; font-family: monospace;\">PgDn<\/code><\/td>\n<td style=\"padding: 10px 15px; border: 1px solid #e2e8f0; color: #334155;\">Scroll by page<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Keep this section as a quick reference when working with tmux on Linux or managing long-running tasks over SSH.<\/p>\n<h4>Conclusion<\/h4>\n<p>tmux provides a practical way to keep multiple terminal tasks organized in one environment. Sessions help separate projects, windows keep activities grouped, and panes allow several commands to remain visible at the same time.<\/p>\n<p>The detach and reattach features are particularly useful for remote server administration because a running session can remain active while your SSH connection is closed. With a few common shortcuts and basic configuration changes, tmux can become a useful part of a Linux server workflow.<\/p>\n<p>Find more knowldge base about <a href=\"https:\/\/www.bodhost.com\/kb\/windows-cmd-commands-cheat-sheet\/\" target=\"_blank\" rel=\"noopener\">Windows CMD Commands Cheat Sheet<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Managing several terminal tasks at once can be difficult, especially when you&#8217;re connected to a remote Linux server via SSH. tmux helps organize these tasks by letting you run multiple terminal sessions, windows, and panes from a single terminal. One useful feature of tmux is that a session can continue running even after you disconnect [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":15757,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[837],"tags":[1733],"class_list":["post-15751","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorial","tag-tmux-cheat-sheet"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>tmux Cheat Sheet: Commands and Shortcuts Explained<\/title>\n<meta name=\"description\" content=\"Learn essential tmux commands and shortcuts for managing sessions, windows, panes, copy mode, and terminal workflows on Linux.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bodhost.com\/kb\/tmux-cheat-sheet\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"tmux Cheat Sheet: Commands and Shortcuts Explained\" \/>\n<meta property=\"og:description\" content=\"Learn essential tmux commands and shortcuts for managing sessions, windows, panes, copy mode, and terminal workflows on Linux.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/kb\/tmux-cheat-sheet\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - bodHOST\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/bodHOST\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-18T06:52:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-09-18T06:57:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2026\/09\/tmux-Cheat-Sheet.png\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"360\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Paul Lopez\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bodHOST\" \/>\n<meta name=\"twitter:site\" content=\"@bodHOST\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Paul Lopez\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/tmux-cheat-sheet\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/tmux-cheat-sheet\\\/\"},\"author\":{\"name\":\"Paul Lopez\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/566ccff9a2fae4af852be8097b179813\"},\"headline\":\"tmux Cheat Sheet: Commands and Shortcuts Explained\",\"datePublished\":\"2026-09-18T06:52:14+00:00\",\"dateModified\":\"2026-09-18T06:57:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/tmux-cheat-sheet\\\/\"},\"wordCount\":1414,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/tmux-cheat-sheet\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/tmux-Cheat-Sheet.png\",\"keywords\":[\"tmux Cheat Sheet\"],\"articleSection\":[\"Tutorial\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/tmux-cheat-sheet\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/tmux-cheat-sheet\\\/\",\"name\":\"tmux Cheat Sheet: Commands and Shortcuts Explained\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/tmux-cheat-sheet\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/tmux-cheat-sheet\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/tmux-Cheat-Sheet.png\",\"datePublished\":\"2026-09-18T06:52:14+00:00\",\"dateModified\":\"2026-09-18T06:57:48+00:00\",\"description\":\"Learn essential tmux commands and shortcuts for managing sessions, windows, panes, copy mode, and terminal workflows on Linux.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/tmux-cheat-sheet\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/tmux-cheat-sheet\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/tmux-cheat-sheet\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/tmux-Cheat-Sheet.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/tmux-Cheat-Sheet.png\",\"width\":800,\"height\":360,\"caption\":\"tmux-Cheat-Sheet\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/tmux-cheat-sheet\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tutorial\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/category\\\/tutorial\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"tmux Cheat Sheet: Commands and Shortcuts Explained\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"alternateName\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/instagram_card_1-1-1.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/instagram_card_1-1-1.png\",\"width\":150,\"height\":150,\"caption\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/bodHOST\",\"https:\\\/\\\/x.com\\\/bodHOST\",\"https:\\\/\\\/www.instagram.com\\\/bodhost\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/bodhost-ltd\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UC0xMCUIOoAvVqbNUDIyqgaA\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/566ccff9a2fae4af852be8097b179813\",\"name\":\"Paul Lopez\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c63d9f5400cd5ef87b481a24b2c1a4fb89f1674b6391325326cf13f1e735dff8?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c63d9f5400cd5ef87b481a24b2c1a4fb89f1674b6391325326cf13f1e735dff8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c63d9f5400cd5ef87b481a24b2c1a4fb89f1674b6391325326cf13f1e735dff8?s=96&d=mm&r=g\",\"caption\":\"Paul Lopez\"},\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/author\\\/paullopez\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"tmux Cheat Sheet: Commands and Shortcuts Explained","description":"Learn essential tmux commands and shortcuts for managing sessions, windows, panes, copy mode, and terminal workflows on Linux.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bodhost.com\/kb\/tmux-cheat-sheet\/","og_locale":"en_US","og_type":"article","og_title":"tmux Cheat Sheet: Commands and Shortcuts Explained","og_description":"Learn essential tmux commands and shortcuts for managing sessions, windows, panes, copy mode, and terminal workflows on Linux.","og_url":"https:\/\/www.bodhost.com\/kb\/tmux-cheat-sheet\/","og_site_name":"Knowledge Base - bodHOST","article_publisher":"https:\/\/www.facebook.com\/bodHOST","article_published_time":"2026-09-18T06:52:14+00:00","article_modified_time":"2026-09-18T06:57:48+00:00","og_image":[{"width":800,"height":360,"url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2026\/09\/tmux-Cheat-Sheet.png","type":"image\/png"}],"author":"Paul Lopez","twitter_card":"summary_large_image","twitter_creator":"@bodHOST","twitter_site":"@bodHOST","twitter_misc":{"Written by":"Paul Lopez","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bodhost.com\/kb\/tmux-cheat-sheet\/#article","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/tmux-cheat-sheet\/"},"author":{"name":"Paul Lopez","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/566ccff9a2fae4af852be8097b179813"},"headline":"tmux Cheat Sheet: Commands and Shortcuts Explained","datePublished":"2026-09-18T06:52:14+00:00","dateModified":"2026-09-18T06:57:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/tmux-cheat-sheet\/"},"wordCount":1414,"publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/tmux-cheat-sheet\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2026\/09\/tmux-Cheat-Sheet.png","keywords":["tmux Cheat Sheet"],"articleSection":["Tutorial"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/kb\/tmux-cheat-sheet\/","url":"https:\/\/www.bodhost.com\/kb\/tmux-cheat-sheet\/","name":"tmux Cheat Sheet: Commands and Shortcuts Explained","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/tmux-cheat-sheet\/#primaryimage"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/tmux-cheat-sheet\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2026\/09\/tmux-Cheat-Sheet.png","datePublished":"2026-09-18T06:52:14+00:00","dateModified":"2026-09-18T06:57:48+00:00","description":"Learn essential tmux commands and shortcuts for managing sessions, windows, panes, copy mode, and terminal workflows on Linux.","breadcrumb":{"@id":"https:\/\/www.bodhost.com\/kb\/tmux-cheat-sheet\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bodhost.com\/kb\/tmux-cheat-sheet\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/tmux-cheat-sheet\/#primaryimage","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2026\/09\/tmux-Cheat-Sheet.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2026\/09\/tmux-Cheat-Sheet.png","width":800,"height":360,"caption":"tmux-Cheat-Sheet"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bodhost.com\/kb\/tmux-cheat-sheet\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Tutorial","item":"https:\/\/www.bodhost.com\/kb\/category\/tutorial\/"},{"@type":"ListItem","position":2,"name":"tmux Cheat Sheet: Commands and Shortcuts Explained"}]},{"@type":"WebSite","@id":"https:\/\/www.bodhost.com\/kb\/#website","url":"https:\/\/www.bodhost.com\/kb\/","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","description":"","publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"alternateName":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bodhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bodhost.com\/kb\/#organization","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","url":"https:\/\/www.bodhost.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2026\/09\/instagram_card_1-1-1.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2026\/09\/instagram_card_1-1-1.png","width":150,"height":150,"caption":"Web Hosting Knowledge Base | bodHOST Hosting FAQ"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/bodHOST","https:\/\/x.com\/bodHOST","https:\/\/www.instagram.com\/bodhost\/","https:\/\/www.linkedin.com\/company\/bodhost-ltd","https:\/\/www.youtube.com\/channel\/UC0xMCUIOoAvVqbNUDIyqgaA"]},{"@type":"Person","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/566ccff9a2fae4af852be8097b179813","name":"Paul Lopez","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c63d9f5400cd5ef87b481a24b2c1a4fb89f1674b6391325326cf13f1e735dff8?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c63d9f5400cd5ef87b481a24b2c1a4fb89f1674b6391325326cf13f1e735dff8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c63d9f5400cd5ef87b481a24b2c1a4fb89f1674b6391325326cf13f1e735dff8?s=96&d=mm&r=g","caption":"Paul Lopez"},"url":"https:\/\/www.bodhost.com\/kb\/author\/paullopez\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/15751","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/comments?post=15751"}],"version-history":[{"count":5,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/15751\/revisions"}],"predecessor-version":[{"id":15756,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/15751\/revisions\/15756"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media\/15757"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media?parent=15751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/categories?post=15751"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/tags?post=15751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}