How can I split the standard Ubuntu terminal?

I would like to have several terminals in the same window. I know I can have tabs, but with them we can't see two terminals at a time.

I know Terminator is another terminal able to do this, but I really like the standard terminal.

Is it possible ?

2

6 Answers

Not with the standard terminal. There are, however, a number of applications that you can install that will extend your terminal to allow for it, called multiplexers. Tmux and Screen are two of the most common.

0

Use terminator / termssh

apt-get install terminator # for GNOME but works fine on KDE.

wrote this to automate server connections either through autodiscovery or text file 4 -8 windows per tab

Like Shauna suggests, GNU Screen among other tools will let you do this. It also comes with a host of other features which can be very useful (like keeping your programs running on a remote shell even after you have disconnected, so that you can re-connect to the session later).

If you decide to try any of these tools out, I suggest you look a little bit further than your initial needs requires you too, as the rewards will be immense.

4

I know it's an old question but maybe someone could find this useful.

There is a package splitvt that let you split the default Ubuntu terminal.

It can be installed in the usual way:

sudo apt-get install splitvt

and then just type splitvt.

From its manpage:

This program splits the screen into two windows, one above the other, and runs a shell in each one. The default shell is taken from the SHELL environment variable, or /bin/csh if SHELL isn't in the environment, but another shell can be specified on the command line.

1

I personally use Tilix

sudo apt-get install tilix

enter image description here

2

Very interesting commands using tmux:

sudo apt install tmux

tmux

Ctrl+b " Split current pane horizontally into two panes

Ctrl+b % Split current pane vertically into two panes

Ctrl+b o Go to the next pane

Ctrl+b ; Toggle between the current and previous pane

Ctrl+b x Close the current pane

Ctrl+b d keep your terminal running in background (you can close the terminal even if a socket is running.

Ctrl+b w list your panes (e.g. after reopening the terminal)

Ctrl+b [ Activate scroll. Use ESC to exit.

For more options you can see here:

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like