I know I can kill any process with kill -9 command . But sometimes i see that even if I have terminated a program with CTRL+C , the process doesn't get killed . So I want to know the difference between kill -9 vs CTRL+C
What is the difference between exiting a process via Ctrl+C vs issuing a kill -9 command?
process;kill;command;signals;process management
^C send the interrupt signal, which can be handled by a program (you can ignore it)kill -9 send the sigkill signal which kills the program that you can't handle.That's why you can't kill some programs with ^C