Useful Tricks With Screen

“Even more useful if you’re working remotely: If your connection
falls over while you’re still in a screen session, you can ssh back
to the machine and reattach the screen (with screen -r) and get
straight back to where you were, rather than having to start

“You can also manually detach the screen, with screen -d (detach
screen), or by hitting Ctrl-A then D while in a screen session.
This leaves the screen running in the background, and it can be
useful for running background jobs. Or you can leave a screen
session connected to another machine:”


Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis