ping -n 1 -w 10000 224.0.0.0 模拟sleep
wget ifconfig.me/ip -q -O - 获取你的外部ip地址
wget -S -O/dev/null "INSERT_URL_HERE" 2>&1 | grep Server 查看服务器软件(比如 Apache)
$ more ip
118.228.153.198
$ wget www.autodesk.com
--2014-04-19 18:11:25-- http://www.autodesk.com/
Resolving www.autodesk.com... 74.220.126.92
Connecting to www.autodesk.com|74.220.126.92|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 88368 (86K) [text/html]
Saving to: `index.html‘
100%[==============================================>] 88,368 97.6K/s in 0.9s
2014-04-19 18:11:26 (97.6 KB/s) - `index.html‘ saved [88368/88368]
时间: 2024-10-11 00:53:54