SlideShare a Scribd company logo
1 of 1
Download to read offline
TMUX Cheatsheet
Function Keys / command Line Function vi emacs
Global options General
Command prefix C-b Start copy mode [ [
Enter command mode prefix : Quit copy mode q Escape
show every session, window, pane tmux info Movement
set option for all sessions prefix :set -g <option> Cursor up k Up
set option for all windows prefix :setw -g <option> Cursor down j Down
Show key bindings prefix ? Cursor left h Left
Set vi mode for editing prefix : set-window-option -g mode-keys vi Cursor right l Right
Set emacs mode for editing prefix : set-window-option -g mode-keys emacs Cursor start of indent ^ M-m
Session Cursor start of line 0 C-a
list running sessions tmux <ls | list-sessions> or prefix s Cursor end of line $ C-e
attach to running session tmux at[tach-session] [-t <sessionname>] Word next w/W M-f
start new session tmux [new[-session]] Word previous b/B M-b
start new named session tmux new -s <sessionname> Line top of page H M-R
name current session prefix $ Line middle of page M M-r
move to previous/next session prefix (/) Line bottom of page L
detach from session prefix d Scroll page up one line C-Up or K C-Up
kill session tmux kill-session -t <sessionname> Scroll page down one line C-Down or J C-Down
Window Half page down C-d M-Down
create new window prefix c Half page up C-u M-Up
rename current window prefix , Page previous C-b or pgup Page up
move to previous/next window prefix p/n Page next C-f or pgdn Page down
move to window by num prefix <0-9> Line top of all g
move to window by menu prefix w Line bottom of all G
find window by name prefix f Search
swap/reorder window A and B prefix :swap-window -s <B> -t <A> Search forward / C-s
close current window prefix & Search backward ? C-r
kill current window prefix k Search again (next) n n
Window Panes Search again (previous) N
split window vertically prefix % Edit
split window horizontally prefix " Start selection Space C-Space
move to pane left/right prefix leftarrow/rightarrow Copy selection Enter M-w
move to pane up/down prefix uparrow/downarrow Clear selection Escape C-g
move to last active pane prefix ; Paste buffer p or prefix ] C-y or prefix ]
move to next pane prefix o Delete to end of line D C-k
move to pane by number prefix q Delete entire line d C-u
move this pane left prefix { Transpose chars C-t
move this pane right prefix }
Toggle pane zoom prefix z
Convert pane into window prefix !
Move win <num> to a pane in this win prefix :join-pane -s <num>
Move this pane to window <num> prefix :join-pane -t <num>
toggle send cmd to all panes in window prefix :setw synchronize-panes
kill/close current pane prefix x
Buffers
copy visible contents of pane to buffer prefix :capture-pane
list buffers prefix :list-buffers
select-and-paste a buffer prefix :choose-buffer
show buffer prefix :show-buffer [-b <buffernum>]
save buffer to file prefix :save-buffer [-b <buffernum>] <filename>
paste buffer 0 p or prefix ] or C-y
delete a buffer prefix :delete-buffer -b <buffernum>
by LJ Bryson ( https://www.linkedin.com/in/ljbryson/ , http://debaan.blogspot.com/ )
tmux edit mode (vi and emacs)tmux general

More Related Content

What's hot

Графический редактор
Графический редакторГрафический редактор
Графический редакторDbeshenov
 
Vi Cheat Sheet v 1 00
Vi Cheat Sheet v 1 00Vi Cheat Sheet v 1 00
Vi Cheat Sheet v 1 00Nicole Cordes
 
Reverse string
Reverse stringReverse string
Reverse stringWarawut
 
Linked list int_data_fdata
Linked list int_data_fdataLinked list int_data_fdata
Linked list int_data_fdataSamsil Arefin
 
Matlab simulation project
Matlab simulation projectMatlab simulation project
Matlab simulation projectAssignmentpedia
 
Matlab introduction
Matlab introductionMatlab introduction
Matlab introductionAhmed Atef
 
Swadeshi Microprocessor Quiz 2020 (Start-up India)
Swadeshi Microprocessor Quiz 2020 (Start-up India)Swadeshi Microprocessor Quiz 2020 (Start-up India)
Swadeshi Microprocessor Quiz 2020 (Start-up India)PARNIKA GUPTA
 
New microsoft office word document
New microsoft office word documentNew microsoft office word document
New microsoft office word documentSyed Umair
 
Junos commands
Junos commandsJunos commands
Junos commandsmyerfarez
 

What's hot (12)

Графический редактор
Графический редакторГрафический редактор
Графический редактор
 
Vi Cheat Sheet v 1 00
Vi Cheat Sheet v 1 00Vi Cheat Sheet v 1 00
Vi Cheat Sheet v 1 00
 
Vi CheatSheet
Vi CheatSheetVi CheatSheet
Vi CheatSheet
 
Reverse string
Reverse stringReverse string
Reverse string
 
Linked list int_data_fdata
Linked list int_data_fdataLinked list int_data_fdata
Linked list int_data_fdata
 
Matlab simulation project
Matlab simulation projectMatlab simulation project
Matlab simulation project
 
Matlab introduction
Matlab introductionMatlab introduction
Matlab introduction
 
Newton's method for MATLAB Code
Newton's method for MATLAB CodeNewton's method for MATLAB Code
Newton's method for MATLAB Code
 
Langrange method for MATLAB Code
Langrange method for MATLAB CodeLangrange method for MATLAB Code
Langrange method for MATLAB Code
 
Swadeshi Microprocessor Quiz 2020 (Start-up India)
Swadeshi Microprocessor Quiz 2020 (Start-up India)Swadeshi Microprocessor Quiz 2020 (Start-up India)
Swadeshi Microprocessor Quiz 2020 (Start-up India)
 
New microsoft office word document
New microsoft office word documentNew microsoft office word document
New microsoft office word document
 
Junos commands
Junos commandsJunos commands
Junos commands
 

Similar to Cheatsheet - tmux

Similar to Cheatsheet - tmux (20)

GNU Emacs Reference Card.pdf
GNU Emacs Reference Card.pdfGNU Emacs Reference Card.pdf
GNU Emacs Reference Card.pdf
 
Vi cheat sheet
Vi cheat sheetVi cheat sheet
Vi cheat sheet
 
Vi cheat sheet
Vi cheat sheetVi cheat sheet
Vi cheat sheet
 
Maya keyboard-shortcuts
Maya keyboard-shortcutsMaya keyboard-shortcuts
Maya keyboard-shortcuts
 
crontab_unified.pdf
crontab_unified.pdfcrontab_unified.pdf
crontab_unified.pdf
 
Mission vim possible-full
Mission vim possible-fullMission vim possible-full
Mission vim possible-full
 
Linux Command Line Multitasking
Linux Command Line MultitaskingLinux Command Line Multitasking
Linux Command Line Multitasking
 
Vim Cheat Sheet.pdf
Vim Cheat Sheet.pdfVim Cheat Sheet.pdf
Vim Cheat Sheet.pdf
 
Php storm reference_card
Php storm reference_cardPhp storm reference_card
Php storm reference_card
 
vim - Tips and_tricks
vim - Tips and_tricksvim - Tips and_tricks
vim - Tips and_tricks
 
Multitasking in Linux with screen and tmux - Cheat Sheet
Multitasking in Linux with screen and tmux - Cheat SheetMultitasking in Linux with screen and tmux - Cheat Sheet
Multitasking in Linux with screen and tmux - Cheat Sheet
 
Emacs Cheatsheet
Emacs CheatsheetEmacs Cheatsheet
Emacs Cheatsheet
 
tmux
tmuxtmux
tmux
 
Vi editor
Vi editorVi editor
Vi editor
 
Ruby mine referencecard
Ruby mine referencecardRuby mine referencecard
Ruby mine referencecard
 
Vi reference
Vi referenceVi reference
Vi reference
 
Vi reference
Vi referenceVi reference
Vi reference
 
Tuffarsi in vim
Tuffarsi in vimTuffarsi in vim
Tuffarsi in vim
 
VIM for the PHP Developer
VIM for the PHP DeveloperVIM for the PHP Developer
VIM for the PHP Developer
 
Vim 1
Vim 1Vim 1
Vim 1
 

Recently uploaded

Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 

Recently uploaded (20)

Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 

Cheatsheet - tmux

  • 1. TMUX Cheatsheet Function Keys / command Line Function vi emacs Global options General Command prefix C-b Start copy mode [ [ Enter command mode prefix : Quit copy mode q Escape show every session, window, pane tmux info Movement set option for all sessions prefix :set -g <option> Cursor up k Up set option for all windows prefix :setw -g <option> Cursor down j Down Show key bindings prefix ? Cursor left h Left Set vi mode for editing prefix : set-window-option -g mode-keys vi Cursor right l Right Set emacs mode for editing prefix : set-window-option -g mode-keys emacs Cursor start of indent ^ M-m Session Cursor start of line 0 C-a list running sessions tmux <ls | list-sessions> or prefix s Cursor end of line $ C-e attach to running session tmux at[tach-session] [-t <sessionname>] Word next w/W M-f start new session tmux [new[-session]] Word previous b/B M-b start new named session tmux new -s <sessionname> Line top of page H M-R name current session prefix $ Line middle of page M M-r move to previous/next session prefix (/) Line bottom of page L detach from session prefix d Scroll page up one line C-Up or K C-Up kill session tmux kill-session -t <sessionname> Scroll page down one line C-Down or J C-Down Window Half page down C-d M-Down create new window prefix c Half page up C-u M-Up rename current window prefix , Page previous C-b or pgup Page up move to previous/next window prefix p/n Page next C-f or pgdn Page down move to window by num prefix <0-9> Line top of all g move to window by menu prefix w Line bottom of all G find window by name prefix f Search swap/reorder window A and B prefix :swap-window -s <B> -t <A> Search forward / C-s close current window prefix & Search backward ? C-r kill current window prefix k Search again (next) n n Window Panes Search again (previous) N split window vertically prefix % Edit split window horizontally prefix " Start selection Space C-Space move to pane left/right prefix leftarrow/rightarrow Copy selection Enter M-w move to pane up/down prefix uparrow/downarrow Clear selection Escape C-g move to last active pane prefix ; Paste buffer p or prefix ] C-y or prefix ] move to next pane prefix o Delete to end of line D C-k move to pane by number prefix q Delete entire line d C-u move this pane left prefix { Transpose chars C-t move this pane right prefix } Toggle pane zoom prefix z Convert pane into window prefix ! Move win <num> to a pane in this win prefix :join-pane -s <num> Move this pane to window <num> prefix :join-pane -t <num> toggle send cmd to all panes in window prefix :setw synchronize-panes kill/close current pane prefix x Buffers copy visible contents of pane to buffer prefix :capture-pane list buffers prefix :list-buffers select-and-paste a buffer prefix :choose-buffer show buffer prefix :show-buffer [-b <buffernum>] save buffer to file prefix :save-buffer [-b <buffernum>] <filename> paste buffer 0 p or prefix ] or C-y delete a buffer prefix :delete-buffer -b <buffernum> by LJ Bryson ( https://www.linkedin.com/in/ljbryson/ , http://debaan.blogspot.com/ ) tmux edit mode (vi and emacs)tmux general