This question already has an answer here:

I have tried to remove all folders from my current directory using Linux command rm -rf *. But the following error occurs and the respected folder is also not deleted.

rm: cannot remove ‘Xenon_R3_S/Datapath_r/ver/.nfs000000000409508f0003f7b0’: Device or resource busy

marked as duplicate by Gilles linux Jun 20 '17 at 23:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


This error means that the file you are trying to delete is in use by a process.

Try: lsof ${FILENAME} to determine what process is using it, then you can kill it with the kill command if you really want to.

Not the answer you're looking for? Browse other questions tagged or ask your own question.