Tag Archives: lsof

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