Posts

Showing posts from May 26, 2020

How To Use Linux Screen

Image
How To Use Linux Screen Updated  Oct 7, 2019 • 4 min read Have you ever faced the situation where you perform a long-running task on a remote machine, and suddenly your connection drops, the SSH session is terminated, and your work is lost. Well, it has happened to all of us at some point, hasn’t it? Luckily, there is a utility called  screen  that allows us to resume the sessions. Introduction Screen or GNU Screen is a terminal multiplexer. In other words, it means that you can start a screen session and then open any number of windows (virtual terminals) inside that session. Processes running in Screen will continue to run when their window is not visible even if you get disconnected. Install Linux GNU Screen The screen package is pre-installed on most Linux distros nowadays. You can check if it is installed on your system by typing: screen --version Screen version 4.06.02 (GNU) 23-Oct-17 If you don’t have screen installed on your system, you can easily install it using the package m