Tmux is a terminal-use software that can open multiple terminals remotely and has more powerful functions than putty. How to install Tmux under CentOS? The following small series will introduce you to the method of installing Tmux in CentOS.
Tmux is a screen replacement for BSD. It is more advanced than Screen: it supports screen segmentation and has rich command line parameters, making it flexible and dynamic for various layouts and operations. It can be started with a single command (strong configuration), the terminal on the left, Vim on the right, and a gdb—&mdash on the left; in short, it is a flexible IDE, and you still have to configure it.
the following picture:
Installation:
Next, let's talk about how to install tmux.
Environment: CentOS
CentOS software installation tool is not apt-get Yes yum
Before installing tmux, you need to install some supported components:
yum Install libevent-devel ncurses-devel
The next step is to download the source package for installation. Here is a point: So far, the latest version of tmux is 1.8, but I have tested it in 1.8 when compiling There are minor problems, so it is recommended to choose a lower version, 1.6/1.7.
wget http://downloads.sourceforge.net/tmux/tmux-1.6.tar.gz
tar zxvf tmux-1.6.tar.gz
cd tmux- 1.6
. /configure
make
make install
This is OK!
Use:
C stands for ctrl key
tmux command and use
tmux #开启tmux
tmux ls #show existing Tmux list (Cb s)
tmux attach-session -t number#select tmux
Cb c Create a new window
Cb n Switch to the next window
Cb p Switch to the previous window
Cb l The last window is different from the previous window. Who knows who knows
cb w Use the up and down keys to select the current Open session in window
Cb number jumps directly to the window where the number you pressed
Cb & Exit current window
Cb d Temporary disconnect session after disconnection , you can also connect to the 哟 :)
Cb “ Split a window (horizontal)
Cb % Split a window (portrait)
Cb o in small Switch in window
Cb (direction key)
Cb ! Close all small windows
Cb x Close the small window at the current cursor
Cb t Clock
Cb pageup/pagedo
The above is the CentOS installation using Tmux The method is introduced. When installing, you need to pay special attention to the fact that you can choose to install with a lower version. The higher version may have some problems.
Linux multi-threaded programming has the advantages of improving application respon
In Ubuntu system, you can use the tab key to automatically complete the command, but in other Linux
The access control list (ACL) under Linux is mainly used to control the permissions
The Linux tail command is mainly used to display the last lines of the archive file
Linux installation g77 compiler skills
How Ubuntu uses commands to adjust screen brightness
Ubuntu system configuration Ruby On Rails development environment method
Common usage summary of free commands under Linux
Linux compression of JPEG images through the command line
How to test the performance of a Linux disk using the DD command?
Linux how to use awk for array sorting
How to install and use Vsftp in Centos system
Linux system iNode exhausted hard disk can not write files how to do?
How to install and configure Salt
Windows 8 Customer Preview Simplified Chinese ISO Download Address
A simple way to install device drivers
IE on Win8 is 18% more energy efficient than other browsers
Microsoft inventory Windows 8 main features
Optimizing Windows Read-Ahead to Speed Up the System
Win10 will transfer the system's own application to the non-system disk.
Win10 system login to the application store after the boot requires a password solution
How to set the browser to open the home page address by default in Win7 system