Upgrade to Pro — share decks privately, control downloads, hide ads and more …

My tmux Experience

My tmux Experience

I have become a lot more productive since I started using tmux. When I changed jobs, I heard a few colleagues talk about screen but they used it for very limited purpose. I created this presentation to show them what tmux was and what I was doing with it.

Justin Mancinelli

July 27, 2015
Tweet

More Decks by Justin Mancinelli

Other Decks in Programming

Transcript

  1. How I use tmux tmux? Demo Closing But I’ve never

    used screen so I can’t compare
  2. Use different windows for unrelated work How I use tmux

    tmux? Demo Closing Dev Bug Sup In the same window
  3. Keep related work in the same window How I use

    tmux tmux? Demo Closing Dev Bug Sup In multiple panes
  4. When developing features How I use tmux tmux? Demo Closing

    Dev Bug Sup Code Write tests Run tests I don’t care what else is going on in the world
  5. When debugging urgent issues How I use tmux tmux? Demo

    Closing Dev Bug Sup Watch logs Restart services Code Test Keep the work separate from current development
  6. When supporting someone else How I use tmux tmux? Demo

    Closing Dev Bug Sup grep files Read code Personal progress shouldn’t be disrupted
  7. Do the same task on different machines at the same

    time How I use tmux tmux? Demo Closing Build Config Logs Build2 Build4 Build6 Build1 Build3 Build5 “Same time” != “one after the other quickly” “Same time” == “Simultaneously”
  8. How I use tmux tmux? Demo Closing 1. Show my

    current setup for work on svn-git alignment script Demo: Related Work
  9. How I use tmux tmux? Demo Closing 1. Show my

    current setup for work on svn-git alignment script 2. Switch to window showing code review in progress Demo: Unrelated Work
  10. How I use tmux tmux? Demo Closing 1. Open a

    new window 2. Open 4 panes (one vertical, two horizontal) 3. Show auto-layout 4. Close 2 panes 5. Enable synchronize-panes 6. type ‘ssh srv’ 7. Disable synchronize-panes 8. complete typing ‘ssh srv1’ and ‘ssh srv2’ in each pane 9. Enable synchronize-panes 10. Execute ssh command simultaneously 11. Login simultaneously 12. Check status of http simultaneously 13. Logout simultaneously Demo: Synchronize-panes
  11. How I use tmux tmux? Demo Closing I have become

    a lot more productive since I started using tmux