cmd命令笔记

查看端口信息:netstat -ano

eg. netstat -ano|findstr 0.0.0.0:443

根据pid查看进程信息等:wmic process get name,executablepath,processid|findstr

eg. wmic process get name,executablepath,processid|findstr 443

或者tasklist|findstr

eg.tasklist|findstr 2448

根据pid 杀进程: taskkill /pid

eg.taskkill /pid 10464

原文地址:https://www.cnblogs.com/zzss/p/cmd.html