Ok,
I don't know why, but I've seen this question been asked many times, but none of the answers seem to be helpful, yet the problem is quite obvious, because I verified it on several computers.
Ctrl+C
does NOT kill a running program in terminal (Ubuntu v10) even though it's supposed to. I wonder if anyone can actually point a solution that actually works.
So far I've tried Ctrl+\
, Ctrl+SysRq+K
, and much more - nothing works!
The only thing that did work, sort of, is Ctrl+Z
, but it doesn't actually kill/exit the program, but simply puts it in a background and then you still have to do kill %1
to actually kill it.
Thanks!
ping
, because by default, it runs continuously. Also, thefind
command, or most any other bash command. Even gedit seems to work for me. I'm using 11.10, but I don't think it has changed. Are you using 10.04? I have an old 10.04 system I can test - just did, it also acts the same.kill
or Ctrl+K (which also doesn't work in those programs, btw), so the program should still be able to clean up after itself, but most programs these days choose to ignore it for some reason and this is just plain wrong and makes the command line less usable, IMO