Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 1
    Hm... seems you're my life saviour! :] Extending your solution with export IGNOREEOF=1 to prevent accidential termination with Ctrl+D should give me the perfect solution, I've been looking whole long evening. THANKS! :] Commented Sep 5, 2012 at 21:34
  • This doesn't work on Debian as of today, -c is an argument to read an alternative .screenrc file... Commented Jan 31, 2015 at 22:44
  • @ToVine works perfectly on Debian Stable (Wheezy). I used bash -c though. Commented Apr 9, 2015 at 9:42
  • @TranslucentCloud did you enclose the whole command "bash -c ..." in quotes? The last time I tried it (right before writing the comment) it didn't work for me, not quite sure why... Commented Apr 14, 2015 at 14:12
  • @ToVine here is my whole command: screen -LS sauf bash -c "sudo aptitude update && sudo aptitude full-upgrade; exec bash" Commented Apr 14, 2015 at 16:24