Windows常用命令

Windows常用命令

依据端口查杀进程:

查找端口占用的pid:netstat -ano | findstr “port”
查找pid对应的程序:tasklist | findstr “pid”
通过pid杀死程序:taskkill.exe /pid “pid” 可能需要在管理员下加 /F 强制杀死

计算文件Hash

certutil.exe -hashfile filepath md5/sha1/…

发表评论

邮箱地址不会被公开。 必填项已用*标注