Skip to content

Commit 7492af6

Browse files
authored
doc: update cmd.md (#1022)
1 parent 91cd804 commit 7492af6

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docs/cmd.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,15 @@ attrib命令可以列出或修改磁盘上文件的属性,
192192
`netstat -s` | 查看正在使用的所有协议使用情况
193193
`nbtstat -A ip` | 对方136到139其中一个端口开了的话,就可查看对方最近登陆的用户名
194194

195+
### taskkill 命令
196+
参数 | action
197+
:--- | :--
198+
`taskkill /f | 强制终止进程(最常用,防止进程无响应)
199+
`taskkill /im 映像名` | 通过进程名称结束,例如:taskkill /im notepad.exe
200+
`taskkill /pid 进程号` | 通过 PID 结束,通常配合 netstat -ano 查询到的 PID 使用
201+
`taskkill /t` | 终止指定的进程及其子进程
202+
`taskkill /s 远程IP` | 结束远程指定机器上的任务
203+
195204
启动程序
196205
--------
197206

0 commit comments

Comments
 (0)