tmux
—
terminal multiplexer
tmux |
[-vV ]
[-S socket-path]
[-s session-name] command
[arguments] |
tmux
is a terminal multiplexer; it enables a number of
terminals (or windows) to be accessed and controlled from a single terminal.
tmux
runs as a server-client system. A
server is created automatically when necessary and holds a number of
sessions, each of which may have a number of
windows connected to it. Any number of clients may connect
to a session, or the server may be controlled by issuing commands with the
tmux
binary. Communication takes place through a
socket, by default placed in /tmp.
The options are as follows:
-S
socket-path
- This specifies an alternative path to the server socket. The default is
/tmp/tmux-UID, where UID is the
uid of the user who invoked
tmux
.
-s
session-name
- Apply command to the session named session-name.
This option does not apply to all commands. If it is omitted and
tmux
is invoked from a running
tmux
client, the session the containing client is
connected to will be used; otherwise, if only one session exists, it is
chosen, or if multiple sessions exist, an error is generated.
-v
- Request verbose logging. This option may be specified multiple times for
increasing verbosity. Log messages will be saved into
tmux-client-PID.log and
tmux-server-PID.log files in the current
directory, where PID is the pid of the server or client
process.
- command [arguments]
- This specifies one of a set of commands used to control
tmux
, and described in the following section.
Nicholas Marriott
⟨nicm@users.sourceforge.net⟩