Friday, January 11, 2019

tmux-Terminal Multiplexer Intro - Part-1

tmux - Everything in one terminal( Mouse-Free Development ;) )


What is tmux- 

                       tmux is a terminal multiplexer. It helps us to use one single terminal/window to launch multiple terminals. e.g. in your first terminal launch tmux and then load top command. After that, you can create another window and load some database CLI console. Now we have two programs running in the same original terminal. An interesting thing is that within the same session, you can switch back and forth these programs.

Nowadays each modern Operating System provides terminals with multitab functionality. its not something new with tmux. But main feature that tmux provides is running more than one programs simultaneous. In tmux, we have a feature called "pane". "Pane" is again a new window inside tmux window. We can have multiple panes which can be arranged in horizontal or vertical. This again helps us to run multiple programs on same screen. And yes, everything without mouse :).

Below is the example of pane. One single tmux window having 6 pane-


Another interesting thing about the tmux is that you can detach from the current session. This will help us to keep the long process running in the background. This will be a bit familiar to the guys who have used "GNU-screen" already. tmux is a bit similar to GNU-screen, but it provides many more features without any complex configuration. I think which makes it really cool and fun to work with. Along with this tmux has a client-server model. So everything can be controlled from one central location.

In the next article, we will discuss the Installation and basic usages of tmux to start with. So subscribe and keep visiting.

Integrate Jenkins with Azure Key Vault

Jenkins has been one of the most used CI/CD tools. For every tool which we are using in our daily life, it becomes really challenges when ...