lsof
command can be used to get the process/pid of a given file (or anything).
lsof ./some_file.txt
kill -9 <pid>
get the pid using lsof
and kill the process holding the file. This is not recommended, but it helped me.
lsof
command can be used to get the process/pid of a given file (or anything).
lsof ./some_file.txt
kill -9 <pid>
get the pid using lsof
and kill the process holding the file. This is not recommended, but it helped me.