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 ?
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 ?
Use terminator / termssh
apt-get install terminator
# for GNOME but works fine on KDE.
https://github.com/vahidhedayati/termssh
wrote this to automate server connections either through autodiscovery or text file 4 -8 windows per tab
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.
vim
editing.
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.
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: https://linuxize.com/post/getting-started-with-tmux/