For all of us who have run tasks that run for what seems like forever, there's a solution! Installing Screen to your Linux terminal will allow you to start that lengthy process in its own virtual shell instance so that you can pop back to another terminal window and continue your productivity.
Screen is referred to as a terminal multiplexer because it allows you to start a screen session while opening an unlimited number of additional "virtual terminals" within the same session. These processes will continue to run in their own window even if you are disconnected from your session.
Installation is easy, just enter the following commands. Remember that we must update our package repository before beginning to avoid any issues.
# sudo apt update
Next, we can install Screen.
# sudo apt install screen
After the installation is complete, you only need to type
screen into the terminal to begin.
To view a list of commands, enter the following to open the help screen:
Press Ctrl+a, and type a question mark
Screen will help you increase your productivity and make better use of your time while coding. Try it and become a Linux master!