Skip to content

Commit a47bf46

Browse files
committed
m
1 parent d6e8c0f commit a47bf46

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

shell_script.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22

33
参考:<https://www.runoob.com/linux/linux-shell.html>
44
操作文件: <https://blog.csdn.net/qq_37674858/article/details/80066264>
5-
截取给定路径中的目录部分:<https://www.cnblogs.com/kevingrace/p/6182573.html>
5+
截取给定路径中的目录部分:<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

Comments
 (0)