Let's say that I run a process in the foreground, I then wish to pause it, and maybe assign it to the background. In normal C-shell, it is very easily done. I just press C-z, and then I input the command bg &. How can I achieve the same in emacs shell-mode?

1 Answer 1


C-cC-z, which runs comint-stop-subjob, is the shell-mode equivalent.

Use C-hm from your shell buffer to see other bindings on that prefix which may be of interest.

  • This should be marked as the right question. Take my vote up, @phils. Commented Dec 3, 2018 at 16:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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