Find out which process is using that file you can't move/delete

Posted by Quinny Wed, 01 Dec 2010 13:42:53 GMT
Easy!

If you know how. Run this in a terminal:

Code:
lsof <path of the file you are having trouble with>

Might want to run it with 'sudo' if it doesn't give any results, the process using it might be owned by root or another user whose processes you don't have access to.

It even works with files that are located in the Trash! Simply drag the file from the Trash to the terminal window to get the path to the trashed file in the terminal.

no comments |



Leave a comment

Leave a comment