您可以运行哪些命令?(必须通过终端)
答案1
您可以使用“-s”标志指定 ping 中的数据包大小:
-s packetsize
Specifies the number of data bytes to be sent. The default is 56, which translates into
64 ICMP data bytes when combined with the 8 bytes of ICMP header data.
答案2
ping -s nnnn a.b.c.d
根据手册页,将大小为 nnnn+8 字节(包括头数据)的数据包发送到地址 abcd。
答案3
[root@example ~]# ping -s install.log 192.168.68.107
PING 192.168.68.107 (192.168.68.107) 0(28) bytes of data.
8 bytes from 192.168.68.107: icmp_req=1 ttl=64
8 bytes from 192.168.68.107: icmp_req=2 ttl=64
8 bytes from 192.168.68.107: icmp_req=3 ttl=64
试试这样:)