--- layout: post title: CMD命令之查找进程并删除 category: 运维 tags: Cmd keywords: description: --- {:toc} ### 根据端口查找进程 ```cmd netstat -ano |findstr PORT ``` ### 查看进程是否存在 ```cmd tasklist|findstr PID ``` ### 根据PID干掉进程 ```cmd taskkill /pid PID1 /pid PID2 /pid PID3 ``` ### windows启动服务 ```cmd net start ``` **对于window的cmd命令可以通过`命令 /?`方式查看该命令的使用方法及参数说明。**