小编Fir*_*gun的帖子

kill 0 实际上是做什么的?

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. 然而,在这个例子中它没有做任何事情。有没有人有关于如何使用它的想法?

linux unix shell kill process

10
推荐指数
2
解决办法
1万
查看次数

root 用户是否有可能在直播中偷偷观看其他人的 shell 会话?

我在stackoverflow上看到一个类似的问题:

/sf/ask/94727741/

有人推荐conspy。但是,似乎 conspy 不适用于 pts 终端。

我也尝试过使用此处strace按下按键的方法,但我发现结果很难阅读。

有没有人对此有想法?

linux security terminal bash shell

1
推荐指数
1
解决办法
3932
查看次数

标签 统计

linux ×2

shell ×2

bash ×1

kill ×1

process ×1

security ×1

terminal ×1

unix ×1