Tag Archives: kill

What to do when ctrl+c not killing your telnet command

To check if ports are open or not, we usually do the following: telnet IP PORT For example: telnet 192.168.100.5 25 Sometimes after seeing your result, you keep pressing ctrl+c, ctrl+x or ctrl+\ to force quit it, but it just … Continue reading

Posted in Linux | Tagged , | Leave a comment

How to kill all processes accessing a filesystem on Ubuntu

This is not really safe, ok 😀 ? Do it at your own risk lsof | grep /filesystem_name | awk ‘{print $2}’ | xargs kill -9 That’s it, Enjoy!

Posted in Linux | Tagged , , , , , , | Leave a comment

Kill signal to dump core file

To kill a process and make it dump a core file, use the “6” signalkill -6 PID

| Tagged , , , | Leave a comment