What are the benefits of using screen?

Right out of the man page you C&P'd:

Programs continue to run when their window is currently not visible and
even when the whole screen session is detached from the user's terminal.

Simply put, when your internet connection blows up your screen'd programs keep running, and when you log back in you can re-attach to that session.

Among other times where this might be useful are times where you would use nohup, e.g. running a script that can break network connectivity for a few seconds (having your session die and your script go away from SIGHUP can leave you with your machine off the network).

I don't know many people who use the "screen management" features of screen, but I know lots of people who detach programs to keep them running after they log out.


If you know how works microsoft remote desktop, you easily understand how screen works. Mostly same except text-console only. So you could detach (disconnect) from screen console, and later reconnect to leaved session. Use hot-keys to switch between windows in screen, copy, paste, freeze, kill and so on.

So main benefit, is save you state of console if you suddenly disconnected from host where screen is initialised, so you could reconnect back to the host and re-attach last time session.

screen -Dr (disconnect if connected anyone else and connect to the session) C-a a C-a space C-a backspace For window rotate C-a c # to create new windows read man for more, but this one are most usefull hot-keys