Have you ever faced a 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.
Found this article quite interesting and helpful, read the details at How To Use Linux Screen.