1

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
Amit24x7
  • 666
sandy
  • 15

1 Answers1

2

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.

Centimane
  • 4,490