在man page,它说:
0 All processes in the current process group are signaled
Run Code Online (Sandbox Code Playgroud)
我试过这样:
$ man kill &
[1] 15247
$
[1]+ Stopped man kill
$ kill 0
$ ps
15247 pts/41 00:00:00 man
Run Code Online (Sandbox Code Playgroud)
据我了解,kill 0将杀死当前进程中的所有进程,其中包括pid15247. 然而,在这个例子中它没有做任何事情。有没有人有关于如何使用它的想法?