How to Install and Use tmux on Ubuntu 16.0
Posted By : Mohd Adnan | 28-Feb-2018
Are you the one to whom it fascinates working on a terminal?
Do you have a hard time switching to multiple terminals at the same moment?
Well, the solution is here -
According to Wikipedia - tmux is a terminal multiplexer, allowing a user to access multiple separate terminal sessions inside a single terminal window or remote terminal session
The term may sound techie, but the concept is simple: Within one terminal window, you can open multiple windows and split-views (panes in
Run the following commands to install
sudo apt update sudo apt-get install tmux
Getting started: Starting Your First Session
Once, it's installed on your OS; you just need to start a
The following screenshot shows how a
The fundamental thing you should keep in mind is that Ctrl+b is the default prefix in tmux. It indicates that to run any command, you need to type a prefix Ctrl+b first. This step is taken to avoid clash with key combinations adopted in other programs operating in the terminal.
Here is cheatsheet for few basic
to split pane horizontally — Ctrl+b %
to split pane vertically — Ctrl+b "
to switch pane — Ctrl+b arrow key
to resize panes — Hold Ctrl+b, hold one of the arrow keys
to (c)reate a new window — Ctrl+b c
to move to the (n)ext window — Ctrl+b n
to move to the (p)
Hope that makes you more productive. It's a great hack to make things easier.