These multiplexers help split the terminal window horizontally as well as vertically:
Tmux: is arguably one of the most used multiplexers out there. It is quite a reliable screen splitter that helps you split the Linux terminal window and adjust the window’s size. It is a keyboard-centric multiplexer. Which means all the function and customizations can be carried out right from the keyboard.
Install Tmux
sudo apt install tmux
To run Tmux
tmux new -s dev
Keyboard Shortcuts:
CTRL + B + % : Vertical Split.
CTRL + B + “ : Horizontal Split.
CTRL + B + O : Make other shell active.
CTRL + B + D : To Detach from tmux.
CTRL + B + ? : Help.
Screen: is a shell multiplexer. It is quite a reliable and capable shell multiplexer. You can split-screen both vertically and horizontally and detach and reattach the screen from the running session.
To install Screen
sudo apt install screen
To Start Screen
screen
Keyboard Shortcuts
CTRL + A + | : Vertical Split
CTRL + A + S : Horizontal Split
CTRL + A + TAB : To make other shell active
CTRL + A + D : Detach from screen
CTRL + A + ? : Help
2> /dev/null
after the command. – Raffa Jul 01 '22 at 16:00