Using Screen Suppose you're at work and need to compile some code before you leave for the day. It's going to take hours to finish and you need to check on it. Start up a screen session and start your compile. Go home. Run "screen -ls" to get a list of your screen sessions (and their pids) and reattach to your session ("screen -dr ") and check on your compile.