2018-03-13 编程 通过Grep找出pid,然后kill进程 通过grep找出pid,然后kill进程123456789pid=`ps aux | grep java | grep -v grep | awk '{print $2}' `echo pid is $pidif [ -z "$pid" ]then echo "pid is empty"else echo "pid exists, will kill it" kill -9 $pidfi Newer InfluxDB介绍 Older 二.机器学习 多变量线性回归