随笔分类 -  linux

摘要:1.启动脚本 start.sh 2.关闭脚本 stop.sh shell?linenums !/bin/bash pid= if [ n "$pid" ] then kill 9 强制终止 echo "kill 的pid:" $pid kill $pid fi echo "命令运行结束" shell 阅读全文
posted @ 2018-10-18 16:25 烟味i 阅读(241) 评论(0) 推荐(0)
摘要:传送门:https://www.linuxidc.com/Linux/2016-12/138979.htm 阅读全文
posted @ 2018-04-04 21:51 烟味i 阅读(153) 评论(0) 推荐(0)