tmux: A Terminal multiplexer
tmux is a terminal multiplexer written in C. It enables a number of terminals to be created, accessed, and controlled from a single screen. It is similar to GNU Screen tool. A user can easily manage multiple tasks and command line programs on a Linux system, without having to open many Terminal windows. tmux may be detached from a screen and continue running in the background, then later reattached.
sk@sk:~$ sudo apt-get install tmux
It will not be found in official repositories. So add EPEL repository to install tmux.
[root@server ~]# rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
Now install tmux with the following command:
[root@server ~]# yum install tmux
To start tmux, simply enter the following command:
[root@server ~]# tmux
Now you will be placed in the new tmux session. The default prefix key stroke is “CTRL+B”. You will need to first press these key pairs for any other commands. For complete list of commands first press “CTRL+B” then press “?”. This command will list all possible key bindings.
Create new tmux session
To create a new tmux session press “CTRL+B” and then press “C”. You will be placed in the new session.
To list all sessions and move between sessions press “CTRL+B” and “W” keys. Use the arrow keys to select the session you want to attach and press Enter. You will be attached to corresponding session. To exit from a session, simply type the command “exit”.
To split the current window vertically, press “CTRL+B” and press “%” key.
Detach from session
To detach from a session, press “CTRL+B” and press “D”. You will be detached from all sessions and redirected to original terminal screen.
To go back to sessions (resume), enter the following command:
[root@server ~]# tmux attach
Now you will be attached to original session where you came from. For more example about tmux command refer the man pages:
[root@server ~]# man tmux
Like us on Facebook
We need your assistance to stay live
This week Top Posts
- Top Things To Do After Installing Ubuntu 13.10 'Saucy Salamander' : Ubuntu 13.10 Saucy Salamander will be released on coming October 17th with many new salient featur...0 comments |
- News from Kaspersky Lab: Tor is protecting criminals : In a previous article I wrote a bit about Tor. Free browser, relays bouncing your IP all over the ...1 comment |
- How To Access A LVM Drive / Partition in Ubuntu : Hey Guys, I installed Fedora on an external drive (LVM) recently and was trying to access it from U...0 comments |
- Grive: An Unofficial, Open Source Linux Client For Google Drive : A couple of months before, we have featured a Linux client for Google Drive named Syncdrive, which w...2 comments |
- Adding and Deleting Cluster Resources (corosync pacemaker) : In our previous tutorial, we have shown you how to install corosync and pacemaker. We will show y...0 comments |
- Install Satis On Ubuntu Sever 13.10/13.04 : Satis is a simple static composer repository generator. It is used in any composer.json file as i...0 comments |
- Adding and Deleting Cluster Resources (corosync pacemaker)
- News from Kaspersky Lab: Tor is protecting criminals
- Install Satis On Ubuntu Sever 13.10/13.04
- How To Access A LVM Drive / Partition in Ubuntu
- How To Disable Remember Open Files in Sublime Text 3
- Install Sublime Text 3 In Fedora Easily With Fedy
- Grive: An Unofficial, Open Source Linux Client For Google Drive
- Install nSnake Game In Terminal
- How To “Fix E: Could not open file /var/lib/dpkg/status”
- Wow! Linux Foundation To Offer Free Linux Course This Summer Worth $2,400 on EdX
This work by unixmen.com is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Copyright © 2008-2013 Unixmen.com .