【发布时间】:2017-03-05 10:39:32
【问题描述】:
我正在终端尝试这个:
/tmp ps x | grep -m1 firefox | cut -d' ' -f1 | kill -KILL
kill: not enough arguments
如何通过管道将 pid 杀死?
我试过了,没用
/tmp ps x | grep -m1 firefox | kill -KILL $(cut -d' ' -f1)
cut: -: Input/output error
kill: not enough arguments
【问题讨论】: