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*

10
  • 2
    A good thing to know in general for interrupting any running command. Commented Mar 5, 2014 at 10:09
  • 2
    if it does not work try also crtl + d to stop process and if does not work use ctrl + z to background the running command find it's PID and kill it with kill Commented Mar 5, 2014 at 10:54
  • ^D will only work if a process is reading from standard input. ^\ is a good one too (sends a SIGQUIT). Commented Mar 5, 2014 at 11:01
  • 2
    @Kiwy Easier is to run jobs and use kill %x Commented Mar 5, 2014 at 12:19
  • 1
    It depends what intr is set to on the tty. If you do stty -a you'll see which control codes are set to do what. Commented Mar 5, 2014 at 15:32