ping

Linux · Network · available in the simulator

What it does

Check network connectivity by sending ICMP packets.

Syntax

ping [opciones] destino

Options and parameters

  • -c

    Number of packets to send before stopping.

    ping -c 4 example.com
  • -i

    Interval in seconds between sending each packet.

  • -s

    Packet size in bytes.

  • -W

    Time to wait for a response, in seconds.

  • -4

    Force IPv4 fallback/usage.

  • -6

    Force IPv6 fallback/usage.

Usage examples

  • ping -c 4 8.8.8.8
  • ping -c 4 example.com
Practise ping

Related commands