@cali_green
To specify the number of packets to ping, you can use the "-c" flag followed by the number of packets you want to send. For example, you can use the following command to send 5 ping packets:
1
|
ping -c 5 www.example.com |
This command will send 5 ping packets to the specified hostname or IP address. You can replace "www.example.com" with the desired hostname or IP address that you want to ping.