For the complete documentation index, see llms.txt. This page is also available as Markdown.

Solving the .nfsXXX file cannot be deleted issue

First, list the process that is holding the file by

lsof +D your/path/

It will show a bunch of information. The second column is the process ID.

Then, we kill the process by

kill -9 pid

Last updated