TMUX – Terminal multiplexer, It helps

Good morning dear readers and friends………
TMUX is just a Linux command that can easy one’s life. According to the manual (type “man tmux” in your Linux terminal),
TMUX is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen (single terminal window precisely)…..”

The manual page is sufficiently clear, i’m just so impressed that i’ll just demonstrate a basic thing I learned about it and how I use it. Basically I open one command window, split it into 2 or 3 panes and run my commands into these panes and have results of all my tasks in ONE SCREEN.
No need to install anything, it comes by default on BSD systems like Ubuntu. Personally, i’m on Ubuntu 12.04.

To launch, open your terminal and type “tmux”, it opens one window with one pane 🙂

The shortcuts of tmux program is accessed in same manner i.e Ctrl+B followed by a command key demonstrated below :

1) type <Ctrl + B > , then press <% >, it splits ya screen into 2 vertical panes, (if < “ > was used in place of <%>, your screen will be split horizontally), you can keep splitting it the way you like. Here is a capture of mine (I have 1 screen with 3 panes)

NB : ignore the “<” and “>” signs when typing in your terminal

Sample splitted TMUX screen capture

Sample splitted TMUX screen capture

Sample splitted TMUX screen capture

Sample splitted TMUX screen capture

2) I can type my “PING” in one pane to verify my Internet connection, “top” in another to keep an eye on my processor activity etc……… But to navigate from pane to pane here is the combination: <Ctrl+B>, then press letter <O>
3) to quit a pane, type <exit>, and when u successively quit all panes, then you’ve successfully quited tmux itself

TMUX is effective and easy to use, the list of short cut command keys is found in the manual, here is a screen capture of that potion of the manual

tmux command shortcut list

tmux command shortcut list

Thanks for reading 🙂

Advertisements

2 responses to “TMUX – Terminal multiplexer, It helps

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s