tmux is an
open-source
Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use and view the source code, design documents, or content of the product. The open source model is a decentrali ...
terminal multiplexer for
Unix-like
A Unix-like (sometimes referred to as UN*X, *nix or *NIX) operating system is one that behaves in a manner similar to a Unix system, although not necessarily conforming to or being certified to any version of the Single UNIX Specification. A Uni ...
operating system
An operating system (OS) is system software that manages computer hardware and software resources, and provides common daemon (computing), services for computer programs.
Time-sharing operating systems scheduler (computing), schedule tasks for ...
s. It allows multiple
terminal sessions to be accessed simultaneously in a single window. It is useful for running more than one
command-line
A command-line interface (CLI) is a means of interacting with software via commands each formatted as a line of text. Command-line interfaces emerged in the mid-1960s, on computer terminals, as an interactive and more user-friendly alternativ ...
program at the same time. It can also be used to detach
processes from their controlling terminals, allowing remote sessions to remain active without being visible.
Features
tmux includes most features of
GNU Screen. It allows users to start a terminal session with clients that are not bound to a specific physical or virtual console; multiple terminal sessions can be created within a single terminal session and then freely rebound from one virtual console to another, and each session can have several connected clients.
Some notable tmux features are:
* Menus for interactive selection of running sessions, windows or clients
* Window can be linked to an arbitrary number of sessions
*
vi-like or
Emacs
Emacs (), originally named EMACS (an acronym for "Editor Macros"), is a family of text editors that are characterized by their extensibility. The manual for the most widely used variant, GNU Emacs, describes it as "the extensible, customizable, s ...
command mode (with
auto completion) for managing tmux
* Vertical and horizontal window split support
tmux lacks built-in
serial port
A serial port is a serial communication Interface (computing), interface through which information transfers in or out sequentially one bit at a time. This is in contrast to a parallel port, which communicates multiple bits simultaneously in Pa ...
and
telnet
Telnet (sometimes stylized TELNET) is a client-server application protocol that provides access to virtual terminals of remote systems on local area networks or the Internet. It is a protocol for bidirectional 8-bit communications. Its main ...
support.
It uses different command keys from the ones used by screen, so it is not a drop-in replacement for screen, but it can be configured to use compatible
keybindings
In computing, a keyboard shortcut (also hotkey/hot key or key binding) is a software-based assignment of an action to one or more keys on a computer keyboard. Most Operating system, operating systems and Application software, applications come ...
.
Availability
tmux is included in the
OpenBSD
OpenBSD is a security-focused operating system, security-focused, free software, Unix-like operating system based on the Berkeley Software Distribution (BSD). Theo de Raadt created OpenBSD in 1995 by fork (software development), forking NetBSD ...
base system,
and is available as a
package for many other
Unix-like
A Unix-like (sometimes referred to as UN*X, *nix or *NIX) operating system is one that behaves in a manner similar to a Unix system, although not necessarily conforming to or being certified to any version of the Single UNIX Specification. A Uni ...
operating systems.
See also
*
Byobu (software)
*
Mosh (software)
*
Twin (windowing system)
Twin (acronym for "Textmode WINdow") is a windowing environment with mouse support, window manager, terminal emulator and networked clients, all inside a text mode display. Twin is tested on Linux (x86, PowerPC/Power ISA, DEC Alpha, SPARC), Fr ...
*
xpra
References
{{OpenBSD
Unix software
Terminfo
Terminal multiplexers
Free software programmed in C
Software using the ISC license