Have you ever had a remote terminal session running, only to have
your connection drop out half way through a large task? Then, you
reconnect, not knowing anything about its progress (if any) and current
Screen is the solution to this problem. Screen allows you to start terminal sessions that you can disconnect from and resume at any time.
I personally use screen a lot with Node.js web servers, so I can kick off the process, and resume my terminal session to check logs or errors, or restart the process if it died.
This article is an introduction to Screen for the average developer, including a few tips and tricks.
InstallingScreen is a Unix tool, so with Ubuntu, you can use
apt-getto install it:
sudo apt-get install screen