Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After I reattach screen session :

screen -DR already_attached_session

My previous terminal is broken with broken bash:

[remote power detached]

Warning: Program '/bin/bash' crashed.

I can not recover it with Ctrl+C, Ctrl+Z, Ctrl+D.

Any idea what goes wrong and how can I avoid it ? (reattach properly)

share|improve this question
up vote 2 down vote accepted

Try using the lowercase -d option instead of -D. The -D option is forceful.

share|improve this answer
It helped perfectly - thanks :) – Grzegorz Wierzowiecki Nov 29 '11 at 9:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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