What commands can you run? (must be via the terminal)
Asked
Active
Viewed 2.8k times
3 Answers
6
You can specify the packet size in ping using "-s" flag:
-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.

ewwhite
- 197,159
- 92
- 443
- 809
2
ping -s nnnn a.b.c.d
sends packets of size nnnn+8 bytes (including header data) to address a.b.c.d, according to the manpage.

MadHatter
- 79,770
- 20
- 184
- 232
-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
try like this :)

Rajat
- 3,349
- 22
- 29
-
1-1, the `-s` argument takes packet size as an integer, not a file name. – Chris S Dec 12 '10 at 20:24