Windows in the Shell with Tmux
The tmux command is very versatile and allows the use of “Windows” in the Shell. It’s very useful for debugging issues, viewing logs, and debugging errors
To install tmux
To install TMUX, you can use the following commands depending on the flavor of your Linux:
On Debian and Ubuntu:
apt-get install tmux
On CentOS, Redhat:
Yum install tmux
In Fedora:
dnf install tmux
- [Ctrl+b]% - To create a horizontal panel
- [Ctrl+b] ”- To create a vertical panel
- [Ctrl+b] x - To kill the panel;
- [Ctrl+b] z - If you want to zoom in on a panel;
- [Ctrl+b]: - arrows to Change between panels