有关计算机的语法规则

来源:百度知道 编辑:UC知道 时间:2024/06/06 00:30:07
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
上面的那些[] , |,还有像(),{}等等,他们代表的是什么意思呢?谢谢
感谢各位的回答,我想那些“[]”应该是“或”的意思吧,不知对不对?

PING命令参数详解

1、-a 解析计算机NetBios名。

示例:
C:\>ping -a 192.168.1.21
Pinging iceblood.yofor.com [192.168.1.21] with 32 bytes of data:
Reply from 192.168.1.21: bytes=32 time<10ms TTL=254
Reply from 192.168.1.21: bytes=32 time<10ms TTL=254
Reply from 192.168.1.21: bytes=32 time<10ms TTL=254
Reply from 192.168.1.21: bytes=32 time<10ms TTL=254
Ping statistics for 192.168.1.21:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
从上面就可以知道IP为192.168.1.21的计算机NetBios名为iceblood.yofor.com。

-t -a 就是参数而已

你在命令后面打上/?这样就有说明了
-T就是不停的PING 对方
-L就是发出去数据包的大小了
-I 生存值,,经过一路由值减1