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
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 |
- Setup IT And Asset Management System With GLPI On Debian/Ubuntu : GLPI is the Information Resource-Manager with an additional Administration Interface. You can use it...0 comments |
- Manage Databases And Hosted Servers Remotely With DbNinja : Database administration via command line is bit difficult for newbie system and database administrat...0 comments |
- How To Configure Linux Clients To Authenticate Using OpenLDAP : This is the continuation of our previous tutorial. In our previous tutorial we learned how to instal...0 comments |
- Install FrostWire 5.6.9 In Elementary OS 'Luna'/ Ubuntu / Linux Mint : FrostWire is a peer-to-peer file sharing program for the gnutella and BitTorrent protocols. FrostWir...0 comments |
- How To Upgrade From Ubuntu 13.04 Raring To Ubuntu 13.10 Saucy Salamander : Ubuntu 13.10 Saucy will be released on October 17th. Hope it will come with lot of improvements and ...0 comments |
- Install Sayonara Player In Elementary OS / Ubuntu / Linux Mint
- Manage Databases And Hosted Servers Remotely With DbNinja
- Install FrostWire 5.6.9 In Elementary OS ‘Luna’/ Ubuntu / Linux Mint
- Setup IT And Asset Management System With GLPI On Debian/Ubuntu
- How To Configure Linux Clients To Authenticate Using OpenLDAP
- How To Install Netflix In Ubuntu
- cowsay And fortune Combined Together
- How To Show Username On Panel In Ubuntu 13.04/13.10
- Setup DNS Server On openSUSE 13.1
- TeamViewer 9 Final Has Been Released!
This work by unixmen.com is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Copyright © 2008-2013 Unixmen.com .