比如查看test.sh这个文件被哪些进程占用,可以用: lsof | grep test.sh 或者 fuser -v test.sh 转载于:https://www.cnblogs.com/imzye/p/5113269.html