2

I am currently running a program that ouputs parcer error information for each time step that is being run. The output goes into the terminal. I was wondering if there was any way to split a terminal in command line only ubuntu? Is there a command for this or any way to even do this?

Thanks

1 Answers1

4

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
kyodake
  • 17,808