TMUX is a tool that lets you use many terminals in one window.

It’s like having many windows on your computer, but all in one place, configurable. It’s like looking many things at once in a single screen.

If you end up doing things parallel or in background, TMUX is the tool to use.

Let’s see it’s advantages and uses.

Advantages of TMUX

Many terminals:

  • You can have many terminals open at the same time.

Detach and reattach:

  • You can stop using a terminal and come back to it later.

Manage sessions:

  • You can give your terminals names and organize them.

Panes:

  • You can split your terminal into parts to do different things at once.

Keyboard shortcuts:

  • You can use special keys to do things quickly.

Customize:

  • You can make TMUX look and work the way you like.

How to use TMUX

Install TMUX:

  • You can usually find TMUX in your computer’s software store:

    • brew install tmux

    • sudo apt-get install tmux

    • etc.

Start a session:

  • Type tmux new-session in your terminal.

  • Even, tmux would work.

Attach to a session:

  • tmux a would attach to last session.

  • Type tmux attach -t <session_name> to attach to a particular session

Detach from a session:

  • Type tmux detach to stop using a session.

  • Or press ^ B d to detach.

TMUX can be very helpful for people who use terminals or command line a lot. It can help you work faster and more efficiently.

See more at TMUX Website

In future posts let’s see configuration of tmux.