Home
Sign Up
Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
V2EX
›
程序员
[ShellScript] 辅助 kill 进程的小脚本
bramblex
·
bramblex
·
Apr 22, 2016
· 2459 views
This topic created in 3723 days ago, the information mentioned may be changed or developed.
主要功能
根据关键词匹配进程名,并且大小写不敏感。匹配出多个结果时,可以根据序号 kill 一个或者多个进程。
根据 pid 匹配进程。
根据端口占用匹配进程。
图片演示
代码如下
https://gist.github.com/bramblex/e03bd9aa7595e1ef1408b7608f8adad0
No Comments Yet
进程
匹配
kill
根据
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
2839 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 39ms ·
UTC 11:45
·
PVG 19:45
·
LAX 04:45
·
JFK 07:45
♥ Do have faith in what you're doing.
❯