执行shell脚本返回terminated

 
 
执行shell脚本返回terminated

可能的原因是因为shell中kill掉了脚本进程自己
比如:123.sh 
内容有 pkill 12这句
执行的时候,就会杀掉脚本进程自己,导致意外退出,并返回terminated
原文地址:https://www.cnblogs.com/gaoyuechen/p/12096933.html