结束进程
结论:pkill process_name.
其他: kill ‘pgrep process_name’
其中process_name 可以不完全.
其他:
$ ps -ef
$ ps -aux
$ ps -ef | grep firefox
$ pgrep firefox
1827
$kill -s 9 1827
$ pgrep firefox | xargs kill -s 9
$kill -s 9 `pgrep firefox`
$pkill -9 firefox
$killall -9 firefox