This question already has an answer here:
A lot of time when I delete a folder, it says cannot be deleted because of .nfs files
Error - Device or resource busy
How can I delete a folder ignoring these errors ( is there any flag in rm command) ? or I would have to find out the process using it, and first kill that process ?
In that case how can i make it work to remove entire directories ?