Read more

Using screen for long running tasks

Henning Koch
August 26, 2010Software engineer at makandra GmbH

Screen is great for long running tasks, where you want to log in every few hours and days and keep your session alive indefinitely.

Illustration web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more Show archive.org snapshot

To create a new screen, do

screen -Rd screenname

This will also reattach an existing screen with that name.

Once you're in the screen, CTRL+A will bring up the menu, d detaches the screen. You can close your shell, screen and all applications running inside of it will remain alive.

Scrolling inside a screen

  • Bring up the menu with CTRL+A
  • Press Esc
  • You can now scroll with Page up/Page down
  • Esc takes you back again
Posted by Henning Koch to makandra dev (2010-08-26 23:15)