windows shell

查找端口进程ID(最后一列是 PID)

netstat -aon|findstr "8080"

kill 进程

taskkill /f /pid  6764

ping IP

ping IP	 `ping 127.0.0.1`
ping host  `ping www.baidu.com`

ping 端口

telnet host port	`telnet baidu.com 80`
telnet IP port	 `telnet 127.0.0.1 8080`
quit	退出 telnet

切换目录

cd /d d:
cd 目录路径
原文地址:https://www.cnblogs.com/huanggy/p/15151239.html