Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

While for most of the processes started from shell I can grab my shell back from them with a sequence of Ctrl-z and bg, it seems that some won't allow me back in control in the case of, e.g., mysqld.

How can I convince it to let go of my shell's stdin?

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

Have you tried "reset" and hitting enter after your shell is gone? You might not see it getting typed, but lots of times you'll get your shell back.

Sometimes it will look like it's not allowing input, but just some strange characters were sent, preventing output.

share|improve this answer
    
that did the trick :) –  kellogs Apr 10 '12 at 23:41
add comment

You are better off starting them with an & at the end, which starts the process in the background to begin with. For example, mysqld &, though I don't see why you need to manually run it on background, since it should automatically fork itself to background.

share|improve this answer
add comment

Your Answer

 
discard

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.