Environment
CentOs 6.4
Installation
Question: CentOs 6.4 has no tmux in the software library and cannot be installed? Workaround: Command line enter the following command to download the installation Epel source
The code is as follows |
Copy Code |
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm sudo rpm-uvh remi-release-6*.rpm epel-release-6*.rpm
|
So we can install Tmux.
The code is as follows |
Copy Code |
Yum Install Tmux
|
After the installation is complete, you can delete the two files that you just downloaded
Here are some Tmux shortcuts
Tmux run Ctrl B, D quit and run Tmux attach into the previous Tmux
Tmux #开启tmux
Tmux ls #显示已有tmux列表 (c-b s)
Tmux ATTACH-SESSION-T Digital #选择tmux
C-b c to create a new window
C-b n switch to the next window
C-b p switch to the previous window
C-b L-Front and rear window transform
C-b W selects open sessions in the current window by the up and down keys
C-b numbers jump directly to the window where you press the number
C-b & exit the current window
C-b D temporarily disconnects a session, you can also connect
C-b "split out a window
C-b% split out a window
C-b o switch in small windows
C-b (Direction key)
C-b! Close all small windows
C-b x closes the small window at the current cursor
C-b T Clock
C-b Pageup/pagedow