I know about Ctrl A and D combination. What actually I am looking that I am running a long process with screen. I want to programatically come out of it as I am using Fabric to automate my activities. If I get into command screen time python3 file.py 1000 2000 5from Fabric, it does work but how do I come out of it?

  • tmux is much easier to automate than screen. – chicks Jun 2 '17 at 21:37

Normally, you wouldn't detach from screen - you would not attach yourself in the first place.

From this Stack Overflow answer:

-d -m   Start screen in "detached" mode. This creates a new session but
        doesn't  attach  to  it.  This  is  useful  for  system startup
  • For some weird reason it's not working anymore. – Volatil3 May 24 '17 at 16:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.