Kill command is not working on linux

Solved : Kill command is not working on linux or Fedora

Many times this issue is happened with me I tried the kill command to stop the process. Solved, Kill command is not working on linux.
But that is really not responding. For Example, following command executed but not worked.

Kill command is not working on linux

[siwan@siwank-pc ~]$ ps -ef|grep skype
siwan     3140     1  1 09:50 ?        00:04:46 skype
siwan    13857 13818  0 17:24 pts/1    00:00:00 grep skype
[siwan@siwank-pc ~]$ kill 3140

There are really very nice unix commands present in Linux like:

[siwan@siwank-pc ~]$ killall firefox

[siwan@siwank-pc ~]$ ps -ef|grep skype
siwan     3140     1  1 09:50 ?        00:04:46 skype
siwan    13857 13818  0 17:24 pts/1    00:00:00 grep skype

[siwan@siwank-pc ~]$ kill -9 3140

I specially like the kill -9 processid command. Using kill -9 on a process is like just hitting the power button on your running PC. You already know that powering off a running PC can damage your filesystem because of run-time inconsistent data, why would you do the same thing to your applications? You risk the _exact same_ data corruption.

Kill command is not working on linux
Kill command is not working on linux

Published by

Purab

I am Purab from India, Software development is my profession and teaching is my passion. Programmers blog dedicated to the JAVA, Python, PHP, DevOps and Opensource Frameworks. Purab's Github Repo Youtube Chanel Video Tutorials Connect to on LinkedIn

Leave a Reply

Your email address will not be published.