
Let’s get our hands dirty! Getting Started Think of tmux as an easier-to-use and a little more powerful alternative to Screen (obviously I’m being opinionated here).Įnough with the concepts. If you are familiar with GNU Screen this might all sound familiar. You see that tmux basically offers two big features: I’ll just start a new session for my new task and attach to the old session whenever I want to continue with my old task. Personally I find myself detaching from sessions when I’m switching context. Not only for its window management features but also for the session handling. Tmux is helpful when working on a remote machine but it shines just as much when you’re working locally. To continue your session simply ssh to the server again and attach to the running session. If you’ve ever worked with remote servers or a Raspberry Pi over ssh you can guess where this will be useful: When you lose your ssh connection the tmux session will simply be detached but will keep running on the server in the background including all the processes that run within your session. This is incredibly useful because at any later point in time you can pick that session up exactly from where you left it by simply “attaching” to that session. tmux will keep this session alive until you kill the tmux server (e.g.
SWITCH BETWEEN ITERM PANES WINDOWS
On top of that tmux keeps these windows and panes in a session. This allows you to have multiple terminal commands and applications running side by side without the need to open multiple terminal emulator windows. Each pane will contain its own, independently running shell instance (bash, zsh, whatever you’re using). Behind this fancy term hides a simple concept: Within one terminal window you can open multiple windows and split-views (called “panes” in tmux lingo). Tmux’s authors describe it as a terminal multiplexer. If you’ve got 10 minutes to spare and want to earn street cred with your nerd friends: read on and become proficient with tmux! What’s tmux? This post will give you the same quick introduction to tmux and its possibilities, followed by the a 10 minute hands-on guide to set up and get to know tmux yourself. Simply speaking, tmux acts as a window manager within your terminal 1 and allows you to create multiple windows and panes within a single terminal window. It’s tmux, a so-called terminal multiplexer. This screenshot shows nothing less than the best thing since sliced bread.

One of the most important tools to drive my daily command line experience is tmux. Over the years I’ve tried to streamline and customize my command line experience to be more convenient, more fun to use or just to look rad. The additional hacker/wizard/neckbeard kind of feeling you get when using a terminal comes for free, what’s not to love?

SWITCH BETWEEN ITERM PANES SOFTWARE
I think there’s hardly any more productive and versatile tool for a software developer than the terminal.
