shell总结

一、 kill -0 pidshell 不发送任何信号,可是系统会进行错误检查。因此常常用来检查一个进程是否存在,存在返回0;不存在返回1bash If sig is 0, then no signal is sent, but error checking is still performed; this can be used to check for the existence of a p
相关文章
相关标签/搜索