天天看點

殺掉某個程序的 Shell

set pid = $(ps -ef|grep java|grep kotlin|awk '{print $2}')

if (test $pid)

then

kill -9 $pid

fi