Find out which process is using that file you can't move/delete
Easy!
If you know how. Run this in a terminal:
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.
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.