Terminal Multiplexer
Greetings!

Today in the Linux user’s glossary 🐧 terminal multiplexer — a tool that is very often used in the process of administering Linux systems 🧑‍💻. As usual, we’ll give a definition of the term, talk about popular implementations of terminal multiplexers, and of course about their advantages and disadvantages🧐.

Also note that this theoretical post📗 precedes a future article on installing and configuring the popular multiplexer Tmux 🪟.

What Is a Terminal Multiplexer?

A terminal multiplexer is a tool that allows a user to manage multiple terminal sessions in a single window. It acts as a “window manager” for the console, allowing you to launch and switch between multiple processes and shells, split the screen into panes, and (most importantly for me) restore work after a connection drop, for example SSH. Control is done using hotkeys🎹 and sometimes the mouse🐭.

Overall, an indispensable tool for advanced Linux users😎.

Brief History

The idea of managing multiple terminal sessions arose alongside the development of multitasking in Unix-like systems. The first popular tool for this purpose was screen from the GNU project, released in 1987. It was easy to use and allowed sessions to be restored after a connection drop🧐.

Over time, new tools emerged that offered more modern functionality. So in bring back my 2007, tmux 🔥 was released, which came from the BSD world and became a popular alternative to screen, thanks to convenient configuration, extensibility, and scripting support.

In recent years, more modern implementations👀 have appeared, such as Zellij and Wezterm, aimed at improving the user experience.

GNU Screen

Source: Habr

Tmux

Source: Habr

Zellij

Source: zellij.dev

Wezterm

Source: GitHub

Conclusion

The choice of a terminal multiplexer depends, of course, on your requirements and tastes🤷‍♂️.

I prefer to work in Tmux, since it was the first multiplexer I got acquainted with😌. Another important factor, of course, is the time and resources I spent configuring Tmux🤯 to turn it into the ideal tool for me to work with the console.

If you often find yourself in a terminal window but haven’t yet worked with terminal multiplexers, I recommend giving them a look👍.

Useful sources

Copyright Notice

Author: Ivan Cherniy

Link: https://r4ven.me/en/it-theory/terminalnyj-multipleksor/

License: CC BY-NC-SA 4.0

Blog materials may be used with attribution to the author and source, for non-commercial purposes, and under the same license.

Start searching

Enter keywords to search articles

↑↓
ESC
⌘K Shortcut