使用中遭遇的问题
$ /root/hello.sh # 假设我们运行hello.sh时报错
-bash: /root/hello.sh: /bin/bash: bad interpreter: Text file busy
$ lsof | grep hello.sh # 查看是否有其他进程在使用hello.sh文件
hello.sh 14442 root 0r CHR 1,3 0t0 6083 /root/hello.sh
$ kill -9 14442 # 杀掉其他进程Last updated