tmux note

refiner posted @ 2014年9月01日 11:06 in Linux techniques && Tools with tags tmux linux OS , 880 阅读

tmux is a terminal multiplexer. It lets you switch easily between several programs in one terminal, detach them (they keep running in the background) and reattach them to a different terminal. 

When tmux is started it creates a new session with a single window and displays it on screen. A status line at the bottom of the screen shows information on the current session and is used to enter interactive commands.

A session is a single collection of pseudo terminals under the management of tmux. Each session has one or more windows linked to it. A window occupies the entire screen and may be split into rectangular panes, each of which is a separate pseudo terminal (the pty(4) manual page documents the technical details of pseudo terminals). Any number of tmux instances may connect to the same session, and any number of windows may be present in the same session. Once all sessions are killed,tmux exits.

Each session is persistent and will survive accidental disconnection (such asssh(1) connection timeout) or intentional detaching (with the ‘C-b d’ key strokes). tmux may be reattached using:

$ tmux attach

In tmux, a session is displayed on screen by a client and all sessions are managed by a single server. The server and each client are separate processes which communicate through a socket in /tmp.

Avatar_small
Layla Lilley 说:
2019年5月07日 06:46

This is so helpful material and I shall use this content for my next dissertation editing services interview presentation. Could you please share some more helping material?


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter