Hacker News new | ask | show | jobs
by djha-skin 1149 days ago
I've known about LSOF and about kill but I've never put them together like this. I find his tool compelling simply because now I don't have to remember all this stuff.

What we really need is a tool like this for Windows. Find the process that keeps this file open and kill it. It's so annoying when I can't delete a file because some process has it open but I can't tell which one.

3 comments

`handle` from sysinternals gets you some of the way there. Maybe all of the way there? (I haven't used Windows in over a decade)

https://learn.microsoft.com/en-us/sysinternals/downloads/han...

Powertoys for Windows has added a "What is blocking this file?" feature recently.

https://learn.microsoft.com/en-us/windows/powertoys/file-loc...

Useful, but talk about too little too late! The fact that this is an external tool, not part of the operating system, and that you are expected to, in 2023, blindly guess which application is holding your flash drive or documents open is pretty pathetic.
> What we really need is a tool like this for Windows.

Nevermind Windows, I want an app like this for android.