windows command 命令
# 扫描并修复系统sfc /SCANNOW # 清理 arp 缓存arp -d# 根据 ip 查局域网 MAC 地址ping iparp -a ip# 查看端口占用情况netstat -ano# 查看指定端口占用情况netstat -ano | findstr 80 # 根据 PID 查进程tasklist |findstr 1352# 根据 PID 杀进程taskkill /f /pid 1352# 创建 windows 服务[ 查看帮助 > sc create ]sc create mysql binPath= D:\mysql_install\bin\mysqld.exe start= auto# 查看服务状态 sc query mysql# 启动服务 sc start mysql # net start mysql# 停止服务 sc stop mysql # net stop mysql# 删除服务sc delete mysql
??