Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

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
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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .