We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6e8c0f commit a47bf46Copy full SHA for a47bf46
shell_script.md
@@ -2,4 +2,7 @@
2
3
参考:<https://www.runoob.com/linux/linux-shell.html>
4
操作文件: <https://blog.csdn.net/qq_37674858/article/details/80066264>
5
-截取给定路径中的目录部分:<https://www.cnblogs.com/kevingrace/p/6182573.html>
+截取给定路径中的目录部分:<https://www.cnblogs.com/kevingrace/p/6182573.html>
6
+
7
+## 根据进程名结束进程:
8
+ps -ef | grep procedure_name | grep -v grep | awk '{print $2}' | xargs kill -2
0 commit comments