-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstop.sh
executable file
·31 lines (29 loc) · 1.08 KB
/
stop.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
###
# .::::.
# .::::::::.
# :::::::::::
# ..:::::::::::'
# '::::::::::::'
# .::::::::::
# '::::::::::::::..
# ..::::::::::::.
# ``::::::::::::::::
# ::::``:::::::::' .:::.
# ::::' ':::::' .::::::::.
# .::::' :::: .:::::::'::::.
# .:::' ::::: .:::::::::' ':::::.
# .::' :::::.:::::::::' ':::::.
# .::' ::::::::::::::' ``::::.
# ...::: ::::::::::::' ``::.
# ````':. ':::::::::' ::::..
# '.:::::' ':'````..
#
# @Description: 停止本地服务器
# @Author: ashen23
# @LastEditTime: 2020-06-05 10:03:48
# @FilePath: /MockApi/stop.sh
# @Copyright: © 2020 Ashen23. All rights reserved.
###
#ps -ef|grep Python |grep -v grep| cut -c 9-15
ps x|grep Python |awk '{print $1}' | xargs kill -9
echo '关闭...'