Managing multiple terminals from one
If you have been using the shell extensively, you would have noticed that at times you will need to have access to more than one terminal at once. If you are using a graphical terminal emulator like Konsole, you might use multiple tabs to achieve this.
However, what to do when you want a solution without using a graphical terminal emulator? Or you are logged into a remote machine and want multiple shells? In the latter case, opening multiple ssh
connections will basically waste network bandwidth and even slow down things. We will see how to achieve multiple shells while avoiding these problems.
Getting ready
To achieve this, we will be using a utility called GNU screen . If the screen is not installed on your ...
Get Linux Shell Scripting Cookbook - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.