Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
[-r count] [-s count] [[-j host-list] | [-k host-list]]
[-w timeout] target_name
Options:
-t Ping the specified host until stopped.
To see statistics and continue - type Control-Break;
To stop - type Control-C.
-a Resolve addresses to hostnames.
-n count Number of echo requests to send.
-l size Send buffer size.
-f Set Don't Fragment flag in packet.
-i TTL Time To Live.
-v TOS Type Of Service.
-r count Record route for count hops.
-s count Timestamp for count hops.
-j host-list Loose source route along host-list.
-k host-list Strict source route along host-list.
-w timeout Timeout in milliseconds to wait for each reply.
或者先输入 cmd, 回车
然后再用ping命令
运行里面先输入CMD
回车后会出现一画面 在PING IP 时就可以了
ping的是ip地址,不知道ip可以直接ping网站。如ping www.sina.com -t。
直接输ping ip或输cmd然后在输ping ip
停留显示的dos命令是:
pause