1

What commands can you run? (must be via the terminal)

3 Answers 3

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.
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.

-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 :)

1
  • 1
    -1, the -s argument takes packet size as an integer, not a file name.
    – Chris S
    Dec 12, 2010 at 20:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .