Is screen useful

gnu-screenterminal

When I need to open different processes or terminals that I need to check, I just open a new tab in my terminal and use different workspaces in my machine to keep everything organized.

I do some web development, using a Linux machine. I've seen that a lot of people use screen to accomplish what I'm doing, but I can't see any advantage. In fact, I thought it would be worse since now I have to remember all states in screen instead of having some terminals in a workspace named "terminals".

What am I missing? How do you actually use screen?

Best Answer

I use screen both locally and remotely. I find that I use screen because it gives me the ability to

  • Run multiple tasks without making multiple ssh connections to a remote server,
  • Run a long-running task in screen, detach, disconnect. The job will still be running in screen and I can come back later, reattach, and check its progress.
  • Have a more or less persistent workspace on a server, which is nice when I am doing something that involves multiple steps over the course of a day.
  • Receive important system information in a non-intrusive way using the screen profile customizations provided by byobu.
  • Use "Named Tabs": In screen I can give each "tab" in screen a name, allowing me to instantly know where to switch to.
  • Use more keyboard shortcuts. If you do most of your work at the computer, not having to use the mouse is a real plus. I find that screen's keyboard shortcuts provide a bit more power, but this may just because I've never invested in truly learning all of the GTK shortcuts.

Here is a screen shot of a recently started screen session using byobu and other customizations: Screen using Byobu

Related Question