When performing a long interactive operation such as a complex test or build over a remote connection (such as SSH), any network interruption such as a temporary break in WiFi connectivity or relocating from one pace to another will interrupt the operation and force you to start over.
GNU screen is a utility which addresses this problem by enabling you to disconnect from a terminal session and reconnect from the same or a different location later. Whatever operations you have started (such as a large build) continue while you are disconnected. Screen also has a number of advanced features such as multiple sessions over a single connection and session sharing between multiple users. This tutorial covers the most basic and useful use-case.
screen -RaD
-RaD
options tell screen to start a session if none exists, or take over an existing session is one does exist, and to detach any existing remote connections to that session.For additional details, see the manpage for screen.