SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

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
 

Tendances (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
 

Similaire à 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
 

Similaire à 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
 

Dernier

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Dernier (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 

Tmux and Tmuxinator ~ Rise of the Machines