SlideShare uma empresa Scribd logo
1 de 24
tmux 
and 
tmuxinator 
rise of the machines
I’ll be back. 
• tmux is a terminal multiplexer. 
• allows you to save the state of terminal sessions 
and reattach later. 
• sessions are persistent and will survive accidental 
disconnection.
create a session
exit the session
now create a named session
detaching and attaching to 
sessions 
• detach: 
> C-b 
• attach: 
> tmux attach -t catproof
examining sessions 
• create another session and then detach: 
> tmux new -s humanproof 
>> C-b d 
• show all tmux session: 
> tmux ls
examining sessions
killing sessions 
• kill a session: 
> tmux kill-session -t humanproof
wait what? 
• attach to or kill a session: 
> tmux attach -t catproof 
> tmux kill-session -t catproof 
• create a session: 
> tmux new -s cat proof 
• yes it’s different flags, -i before e except after c-just 
remember it..
working with panes 
• attach to a session: 
> tmux attach -t 
• split vertically: 
> C-b % 
• split window horizontally: 
> C-b “
this is too complex. 
can’t we automate it?
tmuxinator 
https://github.com/tmuxinator/tmuxinator
install and create a project 
• install the gem: 
> gem install tmuxinator 
follow README for shell configuration. 
• create a new project: 
> tmuxinator open catproof 
project conf ~/.tmuxinator/catproof.yml
yml session description
launch a tmuxinator session 
• launch: 
> tmuxinator catproof
pane management 
• move between panes: 
>> C-b 1 
>> C-b 2 
• close a pane by typing `exit` in that pane
why is this important? 
• create project specific terminal multiplexing 
experiences 
• save states or share sessions on development 
servers 
• pair with others
“I am a friend of Sarah Connor. 
I was told she was here. 
Could I see her please?” 
– Terminator
• https://www.pragprog.com/book 
/bhtmux/tmux 
• http://waynesimmerson.ca/files/ 
Tmux-cheatsheet.pdf 
• http://www.cheatography.com/b 
echtold/cheat-sheets/tmux-the-terminal- 
multiplexer/ 
• http://www.circuidipity.com/tmu 
x.html

Mais conteúdo relacionado

Mais procurados

Vagrant: Your Personal Cloud
Vagrant: Your Personal CloudVagrant: Your Personal Cloud
Vagrant: Your Personal Cloud
James Wickett
 
Vim+cscope+ctags+taglist
Vim+cscope+ctags+taglistVim+cscope+ctags+taglist
Vim+cscope+ctags+taglist
Picker Weng
 
vimshell made other shells legacy
vimshell made other shells legacyvimshell made other shells legacy
vimshell made other shells legacy
ujihisa
 
Automatiser le setup de vos projets avec Eclipse Oomph
Automatiser le setup de vos projets avec Eclipse OomphAutomatiser le setup de vos projets avec Eclipse Oomph
Automatiser le setup de vos projets avec Eclipse Oomph
Jérémie Bresson
 
Vagrant and Puppet primer - NWDUG Sept 2013
Vagrant and Puppet primer - NWDUG Sept 2013Vagrant and Puppet primer - NWDUG Sept 2013
Vagrant and Puppet primer - NWDUG Sept 2013
digital006
 
CodeCamp Iasi 10 march 2012 - Micro web frameworks in net
CodeCamp Iasi 10 march 2012 - Micro web frameworks in netCodeCamp Iasi 10 march 2012 - Micro web frameworks in net
CodeCamp Iasi 10 march 2012 - Micro web frameworks in net
Codecamp Romania
 

Mais procurados (20)

Tmux Development Workflow
Tmux Development WorkflowTmux Development Workflow
Tmux Development Workflow
 
Tmux tips and_tricks
Tmux tips and_tricksTmux tips and_tricks
Tmux tips and_tricks
 
Quick & Easy Dev Environments with Vagrant
Quick & Easy Dev Environments with VagrantQuick & Easy Dev Environments with Vagrant
Quick & Easy Dev Environments with Vagrant
 
Remote pairing from the comfort of your own shell
Remote pairing from the comfort of your own shellRemote pairing from the comfort of your own shell
Remote pairing from the comfort of your own shell
 
Vagrant: Your Personal Cloud
Vagrant: Your Personal CloudVagrant: Your Personal Cloud
Vagrant: Your Personal Cloud
 
deoplete: The dark powered auto completion plugin for neovim
deoplete: The dark powered auto completion plugin for neovimdeoplete: The dark powered auto completion plugin for neovim
deoplete: The dark powered auto completion plugin for neovim
 
Vim+cscope+ctags+taglist
Vim+cscope+ctags+taglistVim+cscope+ctags+taglist
Vim+cscope+ctags+taglist
 
vimshell made other shells legacy
vimshell made other shells legacyvimshell made other shells legacy
vimshell made other shells legacy
 
Automatiser le setup de vos projets avec Eclipse Oomph
Automatiser le setup de vos projets avec Eclipse OomphAutomatiser le setup de vos projets avec Eclipse Oomph
Automatiser le setup de vos projets avec Eclipse Oomph
 
Vagrant and Puppet primer - NWDUG Sept 2013
Vagrant and Puppet primer - NWDUG Sept 2013Vagrant and Puppet primer - NWDUG Sept 2013
Vagrant and Puppet primer - NWDUG Sept 2013
 
Understanding of node
Understanding of nodeUnderstanding of node
Understanding of node
 
Vagrant for real
Vagrant for realVagrant for real
Vagrant for real
 
Node and SocketIO
Node and SocketIONode and SocketIO
Node and SocketIO
 
Virtualization for Developers
Virtualization for DevelopersVirtualization for Developers
Virtualization for Developers
 
CodeCamp Iasi 10 march 2012 - Micro web frameworks in net
CodeCamp Iasi 10 march 2012 - Micro web frameworks in netCodeCamp Iasi 10 march 2012 - Micro web frameworks in net
CodeCamp Iasi 10 march 2012 - Micro web frameworks in net
 
Quick SVN Setup
Quick SVN SetupQuick SVN Setup
Quick SVN Setup
 
Ghost in the shell
Ghost in the shellGhost in the shell
Ghost in the shell
 
Puppet Camp Berlin 2015: Felix Frank | Rapid Testing Setups for Puppet
Puppet Camp Berlin 2015: Felix Frank | Rapid Testing Setups for PuppetPuppet Camp Berlin 2015: Felix Frank | Rapid Testing Setups for Puppet
Puppet Camp Berlin 2015: Felix Frank | Rapid Testing Setups for Puppet
 
Web 3, Week 1: Amazon Web Services for Beginners
Web 3, Week 1: Amazon Web Services for BeginnersWeb 3, Week 1: Amazon Web Services for Beginners
Web 3, Week 1: Amazon Web Services for Beginners
 
Introduction to React with MobX
Introduction to React with MobXIntroduction to React with MobX
Introduction to React with MobX
 

Semelhante a Tmux and Tmuxinator ~ Rise of the Machines

Ultimate tools for developers
Ultimate tools for developersUltimate tools for developers
Ultimate tools for developers
Harjot Mann
 
Vim Hacks (OSSF)
Vim Hacks (OSSF)Vim Hacks (OSSF)
Vim Hacks (OSSF)
Lin Yo-An
 

Semelhante a Tmux and Tmuxinator ~ Rise of the Machines (20)

Pairing with tmux and vim for DevOps Days Austin 2015
Pairing with tmux and vim for DevOps Days Austin 2015Pairing with tmux and vim for DevOps Days Austin 2015
Pairing with tmux and vim for DevOps Days Austin 2015
 
Getting started kali linux
Getting started kali linuxGetting started kali linux
Getting started kali linux
 
screen and tmux
screen and tmuxscreen and tmux
screen and tmux
 
Small Screen Development
Small Screen DevelopmentSmall Screen Development
Small Screen Development
 
Tmux quick intro
Tmux quick introTmux quick intro
Tmux quick intro
 
2016 nov-16 grenoble-floss_tmux
2016 nov-16 grenoble-floss_tmux2016 nov-16 grenoble-floss_tmux
2016 nov-16 grenoble-floss_tmux
 
HPC Examples
HPC ExamplesHPC Examples
HPC Examples
 
15 - Concurrency in VisualWorks
15 - Concurrency in VisualWorks15 - Concurrency in VisualWorks
15 - Concurrency in VisualWorks
 
First adventure within a shell - Andrea Telatin at Quadram Institute
First adventure within a shell - Andrea Telatin at Quadram InstituteFirst adventure within a shell - Andrea Telatin at Quadram Institute
First adventure within a shell - Andrea Telatin at Quadram Institute
 
Testing Wi-Fi with OSS Tools
Testing Wi-Fi with OSS ToolsTesting Wi-Fi with OSS Tools
Testing Wi-Fi with OSS Tools
 
BPF Tools 2017
BPF Tools 2017BPF Tools 2017
BPF Tools 2017
 
bcc/BPF tools - Strategy, current tools, future challenges
bcc/BPF tools - Strategy, current tools, future challengesbcc/BPF tools - Strategy, current tools, future challenges
bcc/BPF tools - Strategy, current tools, future challenges
 
VMTH Project
VMTH ProjectVMTH Project
VMTH Project
 
Vmth project
Vmth projectVmth project
Vmth project
 
Ultimate tools for developers
Ultimate tools for developersUltimate tools for developers
Ultimate tools for developers
 
Linux Command Line Multitasking
Linux Command Line MultitaskingLinux Command Line Multitasking
Linux Command Line Multitasking
 
Ultimate Unix Meetup Presentation
Ultimate Unix Meetup PresentationUltimate Unix Meetup Presentation
Ultimate Unix Meetup Presentation
 
Vim Hacks (OSSF)
Vim Hacks (OSSF)Vim Hacks (OSSF)
Vim Hacks (OSSF)
 
TechTalk5-WhatDoesItTakeToRunLLVMBuildbots.pdf
TechTalk5-WhatDoesItTakeToRunLLVMBuildbots.pdfTechTalk5-WhatDoesItTakeToRunLLVMBuildbots.pdf
TechTalk5-WhatDoesItTakeToRunLLVMBuildbots.pdf
 
Improving your shell usage - 2009
Improving your shell usage - 2009Improving your shell usage - 2009
Improving your shell usage - 2009
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 

Tmux and Tmuxinator ~ Rise of the Machines