linux脚本shell内使用pgrep关闭进程

xingyun86 2019-11-19 1224

linux脚本shell内使用pgrep关闭进程
#!/bin/sh

pid=`echo $(pgrep ".out")`
echo ${pid}
kill -9 ${pid}


×
打赏作者
最新回复 (0)
只看楼主
全部楼主
返回