views:

2176

answers:

3

Today I had the problem that I couldn't delete a folder because "it was busy".

How can I find out which application to blame for that or can I just delete it with brute force?

+6  A: 

Use lsof to find out what has what files are open.

man lsof or have a look here

MrWiggles
+3  A: 

The fuser Unix command will give you the PIDs of the processes accessing a file.

dF
+1  A: 

fuser will show you which processes are accessing a file or directory.

Bombe