Technology Insights

Use Multiple Shells From One Terminal Window on Linux

You can use the Linux screen command to operate multiple shells from one terminal window on Linux. Below is the command to install screen on CentOS Linux.

bash

  1. yum install screen

Using screen is easy. First SSH to your server as you normally would and before running any commands that may take awhile type “screen”. This will start a screen session which will allow you to either run commands in multiple screen windows or detach the screen, close your SSH connection, reconnect another SSH session, and reattach the screen session. Below are some useful screen commands.

Technology Insights

Use yum on Linux to Install Previous Package Versions

When installing packages via yum the default will be to install the latest and greatest package that you request. It is possible however to install previous versions of the package by first seeing what versions of the package are available followed by a more detailed command to install a previous version.

Search Package Versions
First issue the below command to use yum yo display all versions of a package. This will only work on yum versions 8.1.X and below. See below for what to do on yum versions 8.2.X and above.

bash

  1. yum search package_name