为了解决"rm cannot remove ‘path/to/.nfs0000*’: Device or resource busy
# terminal
lsof +D path/to # .nfs0000*的相对或者绝对路径
# 得到被占用的进程id: PID
kill -9 PID #
之后就可以正常rm了。
为了解决"rm cannot remove ‘path/to/.nfs0000*’: Device or resource busy
# terminal
lsof +D path/to # .nfs0000*的相对或者绝对路径
# 得到被占用的进程id: PID
kill -9 PID #
之后就可以正常rm了。