Action Command/Shortcut Description
Install TMUX sudo apt install tmux Installs TMUX on your system.
Start a New Session tmux Starts a new TMUX session.
Start a Named Session tmux new-session -s Starts a new session with a
session_name specific name.
Detach a Session Ctrl + b, then d Detaches the session and keeps
it running in the background.
List All Sessions tmux ls Displays all running TMUX
sessions.
Reattach a Session tmux attach -t Reattaches a detached session.
session_name
Kill a Session tmux kill-session -t Terminates a specific session.
session_name
Create a New Window Ctrl + b, then c Opens a new window within the
session.
Switch Between Windows Ctrl + b, then Switches to a specific window
[window_number] (e.g., Ctrl + b, then 0).
Rename a Window Ctrl + b, then , Renames the current window.
Close a Window Ctrl + b, then & Closes the current window after
confirmation.
Split Pane Vertically Ctrl + b, then % Splits the current window into
vertical panes.
Split Pane Horizontally Ctrl + b, then " Splits the current window into
horizontal panes.
Navigate Between Panes Ctrl + b, then arrow keys Moves between panes in the
current window.
Resize Panes Ctrl + b, then Ctrl + arrow Resizes the active pane.
keys
Close a Pane Ctrl + b, then x Closes the active pane after
confirmation.
View All Ctrl + b, then w Opens a bird’s-eye view of all
Sessions/Windows/Panes sessions, windows, and panes.
Use arrow keys to navigate.
Kill a Session from CLI tmux kill-session -t Terminates a session from
session_name outside TMUX.
Prefix Key Ctrl + b Used to issue commands in
TMUX.
Detach Without Quitting Ctrl + b, then d Detaches a session without
quitting, allowing tasks to
continue running in the
background.
Pro Tip Sessions keep running even after
the terminal is closed, making
TMUX perfect for multitasking.
Take your Linux skills to the next level with my Linux Mastery Express course—designed to
transform you from beginner to PRO in just hours. Click HERE.